AddAccountAction.class.php 300 B

123456789101112
  1. <?php
  2. class AddAccountAction implements IAction {
  3. public function execute() {
  4. if(!Authorize::isLoggedIn() || !Authorize::hasPermission()) {
  5. return array("error" => "Access not authorized");
  6. }
  7. throw new NotImplementedException();
  8. //TODO: write record
  9. //$this->database->exec($sql);
  10. }
  11. }