Commit 47ad5a8a by Simon Champion

Fixed some minor code style quibbles from Travis.

parent 09452ac6
...@@ -67,7 +67,7 @@ abstract class Q2A_Recalc_AbstractStep ...@@ -67,7 +67,7 @@ abstract class Q2A_Recalc_AbstractStep
)); ));
} }
static public function factory(Q2A_Recalc_State $state) public static function factory(Q2A_Recalc_State $state)
{ {
$class = $state->getOperationClass(); $class = $state->getOperationClass();
if (class_exists($class)) { if (class_exists($class)) {
......
...@@ -33,5 +33,4 @@ class Q2A_Recalc_RecalcPoints extends Q2A_Recalc_AbstractStep ...@@ -33,5 +33,4 @@ class Q2A_Recalc_RecalcPoints extends Q2A_Recalc_AbstractStep
$this->state->transition('dorecalcpoints_usercount'); $this->state->transition('dorecalcpoints_usercount');
return false; return false;
} }
} }
...@@ -33,5 +33,4 @@ class Q2A_Recalc_RecountPosts extends Q2A_Recalc_AbstractStep ...@@ -33,5 +33,4 @@ class Q2A_Recalc_RecountPosts extends Q2A_Recalc_AbstractStep
$this->state->transition('dorecountposts_postcount'); $this->state->transition('dorecountposts_postcount');
return false; return false;
} }
} }
...@@ -33,5 +33,4 @@ class Q2A_Recalc_RefillEvents extends Q2A_Recalc_AbstractStep ...@@ -33,5 +33,4 @@ class Q2A_Recalc_RefillEvents extends Q2A_Recalc_AbstractStep
$this->state->transition('dorefillevents_qcount'); $this->state->transition('dorefillevents_qcount');
return false; return false;
} }
} }
...@@ -33,5 +33,4 @@ class Q2A_Recalc_ReindexContent extends Q2A_Recalc_AbstractStep ...@@ -33,5 +33,4 @@ class Q2A_Recalc_ReindexContent extends Q2A_Recalc_AbstractStep
$this->state->transition('doreindexcontent_pagereindex'); $this->state->transition('doreindexcontent_pagereindex');
return false; return false;
} }
} }
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
GNU General Public License for more details. GNU General Public License for more details.
More about this license: http://www.question2answer.org/license.php 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 if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
......
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