summaryrefslogtreecommitdiff
path: root/actions/all.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-04-07 17:47:08 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-04-07 17:47:08 -0400
commit50b32227d1c4bb6fa5c6f81077ddd4a21981e639 (patch)
treedfab3f3af492f56049a1c16ac969ffe578b931b3 /actions/all.php
parent92d18134bfe082f75211b3baa93f20d88367dba6 (diff)
Add subscribers, subscriptions, groups to personal page
We show stats, subscriptions info on the personal page in the sidebar. Pushed code from showstream.php into a common parent class for personal and profile.
Diffstat (limited to 'actions/all.php')
-rw-r--r--actions/all.php20
1 files changed, 1 insertions, 19 deletions
diff --git a/actions/all.php b/actions/all.php
index 9a1632670..d457378dd 100644
--- a/actions/all.php
+++ b/actions/all.php
@@ -23,31 +23,13 @@ require_once INSTALLDIR.'/lib/personalgroupnav.php';
require_once INSTALLDIR.'/lib/noticelist.php';
require_once INSTALLDIR.'/lib/feedlist.php';
-class AllAction extends Action
+class AllAction extends ProfileAction
{
- var $user = null;
- var $page = null;
-
function isReadOnly()
{
return true;
}
- function prepare($args)
- {
- parent::prepare($args);
- $nickname = common_canonical_nickname($this->arg('nickname'));
- $this->user = User::staticGet('nickname', $nickname);
- $this->page = $this->trimmed('page');
- if (!$this->page) {
- $this->page = 1;
- }
-
- common_set_returnto($this->selfUrl());
-
- return true;
- }
-
function handle($args)
{
parent::handle($args);