diff options
author | Evan Prodromou <evan@status.net> | 2010-10-05 14:09:17 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-10-05 14:09:17 -0400 |
commit | 8aa9c271dffe6ec6766b94486c0635c9db588db7 (patch) | |
tree | f6cb465062767bdf5642121e61d143bdd2e4dcfe /plugins/Sample/hello.php | |
parent | 829a017a5d0104f495cd0b645ecb1f3cdeda25ac (diff) | |
parent | 5c4723919fa757b3e14a59350415cfe53e0900d1 (diff) |
Merge remote branch 'gitorious/1.0.x' into 1.0.x
Diffstat (limited to 'plugins/Sample/hello.php')
-rw-r--r-- | plugins/Sample/hello.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/plugins/Sample/hello.php b/plugins/Sample/hello.php index dfbd0ad4f..a793ac6de 100644 --- a/plugins/Sample/hello.php +++ b/plugins/Sample/hello.php @@ -46,7 +46,6 @@ if (!defined('STATUSNET')) { * @license http://www.fsf.org/licensing/licenses/agpl.html AGPLv3 * @link http://status.net/ */ - class HelloAction extends Action { var $user = null; @@ -67,7 +66,6 @@ class HelloAction extends Action * * @return boolean success flag */ - function prepare($args) { parent::prepare($args); @@ -93,7 +91,6 @@ class HelloAction extends Action * * @return void */ - function handle($args) { parent::handle($args); @@ -108,13 +105,12 @@ class HelloAction extends Action * * @return string Title of the page */ - function title() { if (empty($this->user)) { return _m('Hello'); } else { - return sprintf(_m('Hello, %s'), $this->user->nickname); + return sprintf(_m('Hello, %s!'), $this->user->nickname); } } @@ -130,7 +126,6 @@ class HelloAction extends Action * * @return void */ - function showContent() { if (empty($this->user)) { @@ -162,7 +157,6 @@ class HelloAction extends Action * * @return boolean is read only action? */ - function isReadOnly($args) { return false; |