*/
class ConversationAction extends ManagedAction
{
+ protected $redirectAfterLogin = true;
+
public $conv = null;
public $page = null;
public $notices = null;
*/
class ShownoticeAction extends ManagedAction
{
+ protected $redirectAfterLogin = true;
+
/**
* Notice object to show
*/
protected $ajax = false;
protected $menus = true;
protected $needLogin = false;
+ protected $redirectAfterLogin = false;
protected $needPost = false; // implies canPost if true
protected $canPost = false; // can this action handle POST method?
if ($this->needLogin) {
$this->checkLogin(); // if not logged in, this redirs/excepts
}
+
+ if ($this->redirectAfterLogin) {
+ common_set_returnto($this->selfUrl());
+ }
$this->updateScopedProfile();
*/
class GroupdirectoryAction extends ManagedAction
{
+ protected $redirectAfterLogin = true;
+
/**
* The page we're on
*
$this->reverse = $this->boolean('reverse');
$this->q = $this->trimmed('q');
$this->sort = $this->arg('sort', 'nickname');
-
- common_set_returnto($this->selfUrl());
}
/**
*/
class UserdirectoryAction extends ManagedAction
{
+ protected $redirectAfterLogin = true;
+
/**
* The page we're on
*
$this->reverse = $this->boolean('reverse');
$this->q = $this->trimmed('q');
$this->sort = $this->arg('sort', 'nickname');
-
- common_set_returnto($this->selfUrl());
}
/**