appdb/include maintainer.php
ChangeSet ID: 31276 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner(a)winehq.org 2007/07/24 16:52:55 Modified files: include : maintainer.php Log message: Alexander Nicolaysen Sørnes <alex(a)thehandofagony.com> Add return value to maintainer::delete() Patch: http://cvs.winehq.org/patch.py?id=31276 Old revision New revision Changes Path 1.48 1.49 +6 -1 appdb/include/maintainer.php Index: appdb/include/maintainer.php diff -u -p appdb/include/maintainer.php:1.48 appdb/include/maintainer.php:1.49 --- appdb/include/maintainer.php:1.48 24 Jul 2007 21:52:55 -0000 +++ appdb/include/maintainer.php 24 Jul 2007 21:52:55 -0000 @@ -330,7 +330,12 @@ class maintainer function delete() { $sQuery = "DELETE from appMaintainers where maintainerId = '?'"; - query_parameters($sQuery, $this->iMaintainerId); + $hResult = query_parameters($sQuery, $this->iMaintainerId); + + if(!$hResult) + return FALSE; + + return TRUE; } function deleteMaintainer($oUser, $iAppId = null, $iVersionId = null)
participants (1)
-
WineHQ