Permalink
Browse files

# made the api function static

  • Loading branch information...
1 parent b93b1ec commit a8ac7497e575147299b160d8a47b8ca1589d5ab1 @mysnip mysnip committed Jan 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 include/api.php
View
@@ -649,7 +649,7 @@ public function getFunctionName($what)
*
* @return Phorum
*/
- public function API ()
+ public static function API ()
{
if (!isset(Phorum::$instance)) Phorum::$instance = new Phorum();
return Phorum::$instance;

0 comments on commit a8ac749

Please sign in to comment.