aboutsummaryrefslogtreecommitdiff
path: root/engine/classes/SuccessResult.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/classes/SuccessResult.php')
-rw-r--r--engine/classes/SuccessResult.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/classes/SuccessResult.php b/engine/classes/SuccessResult.php
index c8578a2cf..ab5468ad8 100644
--- a/engine/classes/SuccessResult.php
+++ b/engine/classes/SuccessResult.php
@@ -15,7 +15,7 @@ class SuccessResult extends GenericResult {
*
* @param string $result The result
*/
- public function SuccessResult($result) {
+ public function __construct($result) {
$this->setResult($result);
$this->setStatusCode(SuccessResult::$RESULT_SUCCESS);
}