EndPermanentloginsCommand Class Reference
[Usermanagement]
End a permanent login. More...
Inheritance diagram for
EndPermanentloginsCommand:
Protected Member Functions |
|
do_execute () | |
Does executing. |
Detailed Description
End a permanent login.
Definition at line 8 of file end.cmd.php.
Member Function Documentation
EndPermanentloginsCommand::do_execute | ( | ) | [protected] |
Does executing.
Reimplemented from CommandComposite.
Definition at line 12 of file end.cmd.php.
00012 { 00013 $ret = new Status(); 00014 Load::commands('generics/cookie.delete'); 00015 00016 $login = PermanentLogins::get_current(); 00017 if ($login) { 00018 $this->append(CommandsFactory::create_command($login, 'delete', false)); 00019 } 00020 // remove cookie 00021 $this->append(new CookieDeleteCommand(PermanentLogins::COOKIE_NAME)); 00022 00023 return $ret; 00024 }
The documentation for this class was generated from the following file:
- contributions/usermanagement/behaviour/commands/permanentlogins/end.cmd.php