$base_key = self::keyize(common_config('site', 'name'));
}
- return 'statusnet:' . $base_key . ':' . $extra;
+ return 'gnusocial:' . $base_key . ':' . $extra;
}
/**
if (empty($prefix)) {
- $plugins = StatusNet::getActivePlugins();
- $names = array();
+ $names = array();
- foreach ($plugins as $plugin) {
- $names[] = $plugin[0];
+ foreach (GNUsocial::getActivePlugins() as $plugin=>$attrs) {
+ $names[] = $plugin;
}
- $names = array_unique($names);
asort($names);
// Unique enough.