forked from GNUsocial/gnu-social
Rip out user, group and site design customization code
Squashed commit of the following: commit 0bcfb6535115ec0a11669420f8689aeedc417bc8 Author: Zach Copley <zach@status.net> Date: Thu Jun 9 15:51:47 2011 -0400 Remove design-related stuff from the API commit 88da010256fbcaee1ff01d9507ea47d3225f2825 Author: Zach Copley <zach@status.net> Date: Thu Jun 9 15:40:16 2011 -0400 Mop up misc design related code commit 11958b064745b797b4c9f9f4b7e8f65e4c82ce83 Author: Zach Copley <zach@status.net> Date: Thu Jun 9 15:21:00 2011 -0400 Remove Design DB_DataObject class and references to it in schema commit f8540594728ce6ba4697eb21657ccb897a9fc127 Author: Zach Copley <zach@status.net> Date: Thu Jun 9 13:15:54 2011 -0400 Remove design-related actions and widgets commit ddf7b4d425b88b58956b8be06047d2a3e0560bd2 Author: Zach Copley <zach@status.net> Date: Thu Jun 9 13:10:57 2011 -0400 Remove navigation / routing to design settings actions commit e3f280f8780d99168edf37ef766956f281e9c5da Author: Zach Copley <zach@status.net> Date: Thu Jun 9 13:03:09 2011 -0400 CurrentUserDesignAction -> Action commit 6780b1a07e1375a7fa0fd48c8bf3109d9a12e33e Author: Zach Copley <zach@status.net> Date: Thu Jun 9 12:54:22 2011 -0400 * GroupDesignAction -> GroupAction (new base class for group actions) commit 2136377e895db274709a1d486f377f13946ccfd6 Author: Zach Copley <zach@status.net> Date: Thu Jun 9 12:36:40 2011 -0400 OwnerDesignAction -> Action
This commit is contained in:
@@ -269,7 +269,7 @@ class Router
|
||||
// settings
|
||||
|
||||
foreach (array('profile', 'avatar', 'password', 'im', 'oauthconnections',
|
||||
'oauthapps', 'email', 'sms', 'userdesign', 'url') as $s) {
|
||||
'oauthapps', 'email', 'sms', 'url') as $s) {
|
||||
$m->connect('settings/'.$s, array('action' => $s.'settings'));
|
||||
}
|
||||
|
||||
@@ -383,7 +383,7 @@ class Router
|
||||
array('id' => '[0-9]+'));
|
||||
}
|
||||
|
||||
foreach (array('members', 'logo', 'rss', 'designsettings') as $n) {
|
||||
foreach (array('members', 'logo', 'rss') as $n) {
|
||||
$m->connect('group/:nickname/'.$n,
|
||||
array('action' => 'group'.$n),
|
||||
array('nickname' => Nickname::DISPLAY_FMT));
|
||||
@@ -626,12 +626,6 @@ class Router
|
||||
$m->connect('api/account/update_profile_image.:format',
|
||||
array('action' => 'ApiAccountUpdateProfileImage'));
|
||||
|
||||
$m->connect('api/account/update_profile_background_image.:format',
|
||||
array('action' => 'ApiAccountUpdateProfileBackgroundImage'));
|
||||
|
||||
$m->connect('api/account/update_profile_colors.:format',
|
||||
array('action' => 'ApiAccountUpdateProfileColors'));
|
||||
|
||||
$m->connect('api/account/update_delivery_device.:format',
|
||||
array('action' => 'ApiAccountUpdateDeliveryDevice'));
|
||||
|
||||
@@ -875,7 +869,6 @@ class Router
|
||||
// Admin
|
||||
|
||||
$m->connect('panel/site', array('action' => 'siteadminpanel'));
|
||||
$m->connect('panel/design', array('action' => 'designadminpanel'));
|
||||
$m->connect('panel/user', array('action' => 'useradminpanel'));
|
||||
$m->connect('panel/access', array('action' => 'accessadminpanel'));
|
||||
$m->connect('panel/paths', array('action' => 'pathsadminpanel'));
|
||||
|
Reference in New Issue
Block a user