Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
question2answer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
outils
question2answer
Commits
09452ac6
Commit
09452ac6
authored
Jan 25, 2018
by
Simon Champion
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved require(app/format) to appropriate place.
parent
2cef3fb4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
3 deletions
+1
-3
AbstractStep.php
qa-include/Q2A/Recalc/AbstractStep.php
+1
-1
RecalcMain.php
qa-include/Q2A/Recalc/RecalcMain.php
+0
-2
No files found.
qa-include/Q2A/Recalc/AbstractStep.php
View file @
09452ac6
...
...
@@ -20,12 +20,12 @@
More about this license: http://www.question2answer.org/license.php
*/
if
(
!
defined
(
'QA_VERSION'
))
{
// don't allow this page to be requested directly from browser
header
(
'Location: ../../'
);
exit
;
}
require_once
QA_INCLUDE_DIR
.
'app/format.php'
;
//required for qa_number_format()
abstract
class
Q2A_Recalc_AbstractStep
{
...
...
qa-include/Q2A/Recalc/RecalcMain.php
View file @
09452ac6
...
...
@@ -111,8 +111,6 @@ class Q2A_Recalc_RecalcMain
*/
public
function
getMessage
()
{
require_once
QA_INCLUDE_DIR
.
'app/format.php'
;
$step
=
Q2A_Recalc_AbstractStep
::
factory
(
$this
->
state
);
return
$step
?
$step
->
getMessage
()
:
''
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment