X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fpersonal.php;h=900df0257f78205a156a7d07f29df6edf573062a;hb=a6fd4eb0a3b22b21940e00251b8964e231036b40;hp=46f9ff6be7a15c7b1eba1afdc67053b26addb4de;hpb=a0db0e391cdeb626436aa5941770ab1340a8156b;p=quix0rs-gnu-social.git diff --git a/lib/personal.php b/lib/personal.php index 46f9ff6be7..900df0257f 100644 --- a/lib/personal.php +++ b/lib/personal.php @@ -1,9 +1,12 @@ . + * + * @category Personal + * @package Laconica + * @author Evan Prodromou + * @author Sarven Capadisli + * @copyright 2008-2009 Control Yourself, Inc. + * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 + * @link http://laconi.ca/ */ -if (!defined('LACONICA')) { exit(1); } +if (!defined('LACONICA')) { + exit(1); +} + +/** + * Base class for user profile page + * + * @category Personal + * @package Laconica + * @author Evan Prodromou + * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 + * @link http://laconi.ca/ + */ class PersonalAction extends Action { + + var $user = null; + + function isReadOnly() + { + return true; + } + function handle($args) { parent::handle($args); - common_set_returnto($this->self_url()); + common_set_returnto($this->selfUrl()); } }