make some actions CurrentUserDesignActions
This commit is contained in:
parent
9c2f04afc6
commit
91e088d341
@ -47,11 +47,11 @@ define('MESSAGES_PER_PAGE', 20);
|
|||||||
* @see OutboxAction
|
* @see OutboxAction
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class MailboxAction extends PersonalAction
|
class MailboxAction extends CurrentUserDesignAction
|
||||||
{
|
{
|
||||||
var $page = null;
|
var $page = null;
|
||||||
|
|
||||||
function prepare($args)
|
function prepare($args)
|
||||||
{
|
{
|
||||||
parent::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,
|
* Returns either the name (and link) of the API client that posted the notice,
|
||||||
* or one of other other channels.
|
* or one of other other channels.
|
||||||
*
|
*
|
||||||
* @param string $source the source of the message
|
* @param string $source the source of the message
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function showSource($source)
|
function showSource($source)
|
||||||
{
|
{
|
||||||
$source_name = _($source);
|
$source_name = _($source);
|
||||||
switch ($source) {
|
switch ($source) {
|
||||||
|
@ -43,7 +43,7 @@ if (!defined('LACONICA')) {
|
|||||||
* @see Widget
|
* @see Widget
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class SettingsAction extends Action
|
class SettingsAction extends CurrentUserDesignAction
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* A message for the user.
|
* A message for the user.
|
||||||
|
Loading…
Reference in New Issue
Block a user