Unsetting default plugins

Hi all,

Migrating from StatusNet 0.9.3 to 1.0.1, we have a hard time unsetting default plugins (namely Bookmark, Faves, Events, Polls, QnA).
We tried the following, in config.php :
unset($config['plugins']['default']['Bookmark']); and $config['plugins']['default']['Bookmark'] = false; , but this seems to be overridden by the default setup of the public site in :

$sprofile = common_config('site', 'profile');
if (!empty($sprofile)) {
StatusNet::loadSiteProfile($sprofile);
}

which adds them back to the conf.
We also tried $config['plugins']['disable-Bookmark'] = true; to emulate the behavior when the plugin is disabled from the backend, in the database, but that doesn't work either ...

The workaround we have found so far is to unset the site profile, but I guess this his not the best solution.

Are we doing something wrong ? Is there any documentation about this problem ?

Thanks,

PA

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID