- <?php
- class AddUserToAccountAction implements IAction {
- public function execute() {
- if(!Authorize::isLoggedIn() || !Authorize::hasPermission()) {
- return array("error" => "Access not authorized");
- }
- throw new NotImplementedException();
- //TODO: write record
- //$this->database->exec($sql);
- }
- }
|