Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

# made the api function static

  • Loading branch information...
commit a8ac7497e575147299b160d8a47b8ca1589d5ab1 1 parent b93b1ec
@mysnip mysnip authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  include/api.php
View
2  include/api.php
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.