From 868071587421cd6a14e79afd4b6a9af8984f6bf9 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Wed, 10 Feb 2010 17:54:56 -0800 Subject: [PATCH] Gallery3::factory should be defined as static. --- client/Gallery3.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/Gallery3.php b/client/Gallery3.php index 629a114d..f732394c 100644 --- a/client/Gallery3.php +++ b/client/Gallery3.php @@ -49,7 +49,7 @@ class Gallery3 { * @param string authentication token * @return object Gallery3 */ - public function factory($url=null, $token=null) { + static function factory($url=null, $token=null) { $obj = new Gallery3(); $obj->token = $token; $obj->url = $url;