function restore() { $article = new Article($this->dbcon, $this->getArticleId()); $article->saveVersion(); $article->readVersion($this->id); return $article->save(); }