Added archive.org upload
This commit is contained in:
@@ -82,6 +82,12 @@ class Model implements JsonSerializable {
|
||||
Model::$_cache->addServer($host, $port, $weight);
|
||||
}
|
||||
|
||||
public function refresh() {
|
||||
if ($this->id) {
|
||||
$this->_load_record($this->id);
|
||||
}
|
||||
}
|
||||
|
||||
private function _load_record($id) {
|
||||
|
||||
$class = get_called_class();
|
||||
|
||||
Reference in New Issue
Block a user