1
0

Gallery3::factory should be defined as static.

This commit is contained in:
Tim Almdal 2010-02-10 17:54:56 -08:00
parent 7558feb6ca
commit 8680715874

View File

@ -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;