aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-22 22:58:40 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-22 22:58:40 +0000
commit391eff471bf8fd2d44bee0ec08ff4253ed9a6691 (patch)
tree0eff2f021739824f1745aa8edd11c60135177141
parent4bdb7cd1395417696070719b22dfdd5257f4b199 (diff)
downloadelgg-391eff471bf8fd2d44bee0ec08ff4253ed9a6691.tar.gz
elgg-391eff471bf8fd2d44bee0ec08ff4253ed9a6691.tar.bz2
Fixes #2586 ErrorResult has PHP5 constructor now
git-svn-id: http://code.elgg.org/elgg/trunk@7910 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/classes/ErrorResult.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/classes/ErrorResult.php b/engine/classes/ErrorResult.php
index 8dbb7c13f..d4766b3d2 100644
--- a/engine/classes/ErrorResult.php
+++ b/engine/classes/ErrorResult.php
@@ -26,7 +26,7 @@ class ErrorResult extends GenericResult {
*
* @return void
*/
- public function ErrorResult($message, $code = "", Exception $exception = NULL) {
+ public function __construct($message, $code = "", Exception $exception = NULL) {
if ($code == "") {
$code = ErrorResult::$RESULT_FAIL;
}