src/AdminStore.php
public function adm_logout() {
		if (!$this->store_is_logged_in())
			return [AdminStoreError::USER_NOT_LOGGED_IN];

		# this just close sessions with current sid, whether it exists
		# or not, including the case of account self-deletion
		$this->store_close_session($this->user_data['sid']);

		# reset status
		$this->store_reset_status();

		# router must set appropriate cookie

		$this->logger->info(sprintf(
			"Zapmin: logout: OK: '%s'.",
			$this->user_data['uname']
		));
		return [0];
	}
public function adm_logout() {
		if (!$this->store_is_logged_in())
			return [AdminStoreError::USER_NOT_LOGGED_IN];

		# this just close sessions with current sid, whether it exists
		# or not, including the case of account self-deletion
		$this->store_close_session($this->user_data['sid']);

		# reset status
		$this->store_reset_status();

		# router must set appropriate cookie

		$this->logger->info(sprintf(
			"Zapmin: logout: OK: '%s'.",
			$this->user_data['uname']
		));
		return [0];
	}
public function adm_logout ( ) { if ( ! $ this -> store_is_logged_in ( ) ) return [ AdminStoreError :: USER_NOT_LOGGED_IN ] ; # this just close sessions with current sid, whether it exists # or not, including the case of account self-deletion $ this -> store_close_session ( $ this -> user_data [ 'sid' ] ) ; # reset status $ this -> store_reset_status ( ) ; # router must set appropriate cookie $ this -> logger -> info ( sprintf ( "Zapmin: logout: OK: '%s'." , $ this -> user_data [ 'uname' ] ) ) ; return [ 0 ] ; }
Sign out.

@note Using _GET is enough for this operation.
Sign out .