X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Feditapplication.php;h=8c24540c13608346ee165fb7b74e40db08b05e5f;hb=4cfd0d24c109f6485df05d8687aeb80f0bf8834b;hp=02fae3eb49f4828dfc0612370a38347ba6150277;hpb=0dbdcf2936a00282114f1368ead2f5edebc6ae61;p=quix0rs-gnu-social.git diff --git a/actions/editapplication.php b/actions/editapplication.php index 02fae3eb49..8c24540c13 100644 --- a/actions/editapplication.php +++ b/actions/editapplication.php @@ -22,7 +22,7 @@ * @category Applications * @package StatusNet * @author Zach Copley - * @copyright 2008-2009 StatusNet, Inc. + * @copyright 2008-2011 StatusNet, Inc. * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ @@ -42,7 +42,7 @@ 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 EditApplicationAction extends OwnerDesignAction +class EditApplicationAction extends Action { var $msg = null; var $owner = null; @@ -69,8 +69,8 @@ class EditApplicationAction extends OwnerDesignAction $id = (int)$this->arg('id'); - $this->app = Oauth_application::staticGet($id); - $this->owner = User::staticGet($this->app->owner); + $this->app = Oauth_application::getKV($id); + $this->owner = User::getKV($this->app->owner); $cur = common_current_user(); if ($cur->id != $this->owner->id) { @@ -302,7 +302,7 @@ class EditApplicationAction extends OwnerDesignAction */ function nameExists($name) { - $newapp = Oauth_application::staticGet('name', $name); + $newapp = Oauth_application::getKV('name', $name); if (empty($newapp)) { return false; } else {