Revision history for Mod030fImprovedOwnershipHandling
Revision [23310]
Last edited on 2016-05-20 07:38:47 by JavaWoman [Replaces old-style internal links with new pipe-split links.]Additions:
**[[JsnX | Jason Tourtelotte]]**
Deletions:
Revision [19440]
Edited on 2008-01-28 00:16:02 by JavaWoman [Modified links pointing to docs server]No Differences
Revision [17830]
Edited on 2007-12-12 12:42:31 by JavaWoman [prevent function references looking as page links]Additions:
Modifed the ""SetPageOwner()"" function in **wakka.php**
Deletions:
Additions:
**[[JsnX Jason Tourtelotte]]**
Deletions:
Additions:
if( $user <> '' && ! $this->LoadUser( $user ) ) return;
// updated latest revision with new owner
$this->Query("update ".$this->config["table_prefix"]."pages set owner = '".mysql_escape_string($user)."' where tag = '".mysql_escape_string($tag)."' and latest = 'Y' limit 1");
// updated latest revision with new owner
$this->Query("update ".$this->config["table_prefix"]."pages set owner = '".mysql_escape_string($user)."' where tag = '".mysql_escape_string($tag)."' and latest = 'Y' limit 1");
Deletions:
Additions:
if( $user <> ''
Deletions:
// updated latest revision with new owner
$this->Query("update ".$this->config["table_prefix"]."pages set owner = '".mysql_escape_string($user)."' where tag = '".mysql_escape_string($tag)."' and latest = 'Y' limit 1");