Commit 406a91a8 by Simon Champion

Tidyup

parent 9b0c46ae
...@@ -26,6 +26,11 @@ if (!defined('QA_VERSION')) { // don't allow this page to be requested directly ...@@ -26,6 +26,11 @@ if (!defined('QA_VERSION')) { // don't allow this page to be requested directly
exit; exit;
} }
require_once QA_INCLUDE_DIR . 'app/events.php';
require_once QA_INCLUDE_DIR . 'app/updates.php';
require_once QA_INCLUDE_DIR . 'util/sort.php';
class Q2A_Recalc_RefillEventsRefill extends Q2A_Recalc_AbstractStep class Q2A_Recalc_RefillEventsRefill extends Q2A_Recalc_AbstractStep
{ {
public function doStep() public function doStep()
...@@ -37,10 +42,6 @@ class Q2A_Recalc_RefillEventsRefill extends Q2A_Recalc_AbstractStep ...@@ -37,10 +42,6 @@ class Q2A_Recalc_RefillEventsRefill extends Q2A_Recalc_AbstractStep
return false; return false;
} }
require_once QA_INCLUDE_DIR . 'app/events.php';
require_once QA_INCLUDE_DIR . 'app/updates.php';
require_once QA_INCLUDE_DIR . 'util/sort.php';
$lastquestionid = max($questionids); $lastquestionid = max($questionids);
foreach ($questionids as $questionid) { foreach ($questionids as $questionid) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment