diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-05-23 23:40:11 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-05-23 23:40:11 -0400 |
commit | 91e088d341bc51a41ec310502f85bf0d2398bd90 (patch) | |
tree | 3685cdf22b1589139384a85915734f49978c5b7a /lib | |
parent | 9c2f04afc6e70032da5aeb0441e6e0a9b0ffe253 (diff) |
make some actions CurrentUserDesignActions
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mailbox.php | 8 | ||||
-rw-r--r-- | lib/settingsaction.php | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/mailbox.php b/lib/mailbox.php index 01bbf5721..766510a47 100644 --- a/lib/mailbox.php +++ b/lib/mailbox.php @@ -47,11 +47,11 @@ define('MESSAGES_PER_PAGE', 20); * @see OutboxAction */ -class MailboxAction extends PersonalAction +class MailboxAction extends CurrentUserDesignAction { var $page = null; - function prepare($args) + function prepare($args) { parent::prepare($args); @@ -265,12 +265,12 @@ class MailboxAction extends PersonalAction * Returns either the name (and link) of the API client that posted the notice, * or one of other other channels. * - * @param string $source the source of the message + * @param string $source the source of the message * * @return void */ - function showSource($source) + function showSource($source) { $source_name = _($source); switch ($source) { diff --git a/lib/settingsaction.php b/lib/settingsaction.php index db20c5804..17d3a2f64 100644 --- a/lib/settingsaction.php +++ b/lib/settingsaction.php @@ -43,7 +43,7 @@ if (!defined('LACONICA')) { * @see Widget */ -class SettingsAction extends Action +class SettingsAction extends CurrentUserDesignAction { /** * A message for the user. |