X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Flogin.php;h=fca5995a9ab2eed2828e0b2d221139160d252aee;hb=65bf58be806d19bc7fe962c0824160deab07d5c3;hp=d3e4312f71152f86e42047250f1361c95c8fd6df;hpb=a39a934dd4a133bad6e76fa9a5018cedcb70225c;p=quix0rs-gnu-social.git diff --git a/actions/login.php b/actions/login.php index d3e4312f71..fca5995a9a 100644 --- a/actions/login.php +++ b/actions/login.php @@ -42,13 +42,11 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ - class LoginAction extends Action { /** * Has there been an error? */ - var $error = null; /** @@ -56,7 +54,6 @@ class LoginAction extends Action * * @return boolean false */ - function isReadOnly($args) { return false; @@ -69,7 +66,6 @@ class LoginAction extends Action * @param $args * @return string title */ - function prepare($args) { parent::prepare($args); @@ -93,7 +89,6 @@ class LoginAction extends Action * * @return void */ - function handle($args) { parent::handle($args); @@ -117,7 +112,6 @@ class LoginAction extends Action * * @return void */ - function checkLogin($user_id=null, $token=null) { // XXX: login throttle @@ -186,7 +180,6 @@ class LoginAction extends Action * * @return void */ - function showForm($error=null) { $this->error = $error; @@ -204,7 +197,6 @@ class LoginAction extends Action * * @return string title of the page */ - function title() { return _('Login'); @@ -218,7 +210,6 @@ class LoginAction extends Action * * @return void */ - function showPageNotice() { if ($this->error) { @@ -238,7 +229,6 @@ class LoginAction extends Action * * @return void */ - function showContent() { $this->elementStart('form', array('method' => 'post', @@ -278,7 +268,6 @@ class LoginAction extends Action * * @return void */ - function getInstructions() { if (common_logged_in() && !common_is_real_login() && @@ -306,7 +295,6 @@ class LoginAction extends Action * * @return void */ - function showLocalNav() { $nav = new LoginGroupNav($this);