add missing public static

This commit is contained in:
Ralf Becker 2016-04-28 18:07:54 +00:00
parent 38412a1149
commit 66cdf2c089

View File

@ -166,7 +166,7 @@ class Hooks
* @param string $location location-name
* @return int the number of found hooks
*/
function count($location)
public static function count($location)
{
if (!isset(self::$locations)) self::read();