Exemple #1
0
 /**
  * Inserts a new revision
  * @param string $content
  */
 function update($content)
 {
     $wpr = new WikiRevision($this->db);
     $wpr->wiki =& $this;
     $wpr->content = $content;
     $wpr->insert();
 }