forked from GNUsocial/gnu-social
Comment and typing improvements
To make the StatusNet::addPlugin() accept only arrays, the lib/default.php had to be changed because all plugins had 'null' as default value instead of an array.
This commit is contained in:
@@ -95,7 +95,7 @@ require_once(INSTALLDIR.'/lib/language.php');
|
||||
require_once(INSTALLDIR.'/lib/event.php');
|
||||
require_once(INSTALLDIR.'/lib/plugin.php');
|
||||
|
||||
function addPlugin($name, $attrs = null)
|
||||
function addPlugin($name, array $attrs=array())
|
||||
{
|
||||
return StatusNet::addPlugin($name, $attrs);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user