forked from GNUsocial/gnu-social
phpcs noticebyurl.php
This commit is contained in:
parent
f5256eb028
commit
f3999ab92d
@ -80,6 +80,12 @@ class NoticebyurlAction extends Action
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Title of the page
|
||||
*
|
||||
* @return string page title
|
||||
*/
|
||||
|
||||
function title()
|
||||
{
|
||||
if ($this->page == 1) {
|
||||
@ -104,6 +110,14 @@ class NoticebyurlAction extends Action
|
||||
$this->showPage();
|
||||
}
|
||||
|
||||
/**
|
||||
* Show main page content.
|
||||
*
|
||||
* Shows a list of the notices that link to the given URL
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
|
||||
function showContent()
|
||||
{
|
||||
$nl = new NoticeList($this->notices, $this);
|
||||
|
Loading…
Reference in New Issue
Block a user