forked from GNUsocial/gnu-social
Shouldn't define static classes as abstract.
New Exception class added (MethodNotImplementedException)
This commit is contained in:
@@ -73,7 +73,10 @@ class SiteProfile
|
||||
*/
|
||||
abstract class SiteProfileSettings
|
||||
{
|
||||
abstract static function getSettings();
|
||||
static function getSettings()
|
||||
{
|
||||
throw new MethodNotImplementedException(__METHOD__);
|
||||
}
|
||||
|
||||
static function defaultPlugins() {
|
||||
return array(
|
||||
|
Reference in New Issue
Block a user