From: Evan Prodromou Date: Sun, 24 May 2009 03:40:11 +0000 (-0400) Subject: make some actions CurrentUserDesignActions X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=91e088d341bc51a41ec310502f85bf0d2398bd90;p=quix0rs-gnu-social.git make some actions CurrentUserDesignActions --- diff --git a/lib/mailbox.php b/lib/mailbox.php index 01bbf5721a..766510a47b 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 db20c58043..17d3a2f64d 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.