public function unset_file($file) { $this->connect(); $this->recursive_remove($file, false); Helpers::logmessage("Deleted: {$file}"); }
public static function log($msg) { parent::logmessage($msg); }
public static function println($msg) { Helpers::logmessage($msg); }
protected function set_current_commit($target_commit, $list_only = false) { if (!$list_only) { $this->set_file('REVISION', $target_commit); $this->set_file('PREVIOUS_REVISION', empty($this->current_commit) ? $target_commit : $this->current_commit); } if (isset($this->server['maintenance_file'])) { $this->set_file($this->server['maintenance_file'], $this->server['maintenance_off_value']); Helpers::logmessage("Turned maintenance mode off."); } Helpers::logmessage("Finished working on: {$this->host}"); $this->disconnect(); }