ConversationTree is now a plugin (not oldschool setting)

Conversation trees works pretty bad with the current layout, javascript
etc. So it's best if we separate it and work on it as a side-project. The
oldschool settings are currently being deprecated (or broken out like this).

I'll wait with removing User preferences for oldschool conversation tree,
since that might be reusable data. But I guess it will go in the near future.
This commit is contained in:
Mikael Nordfeldth
2014-05-12 11:41:51 +02:00
parent d59b39275b
commit cd3cff451f
6 changed files with 148 additions and 93 deletions

View File

@@ -981,18 +981,6 @@ class User extends Managed_DataObject
return false;
}
function conversationTree()
{
if (common_config('oldschool', 'enabled')) {
$osp = Old_school_prefs::getKV('user_id', $this->id);
if (!empty($osp)) {
return $osp->conversation_tree;
}
}
return false;
}
function streamNicknames()
{
if (common_config('oldschool', 'enabled')) {