Skip to content

Commit

Permalink
Fixed a bug in token_delete(), no issue in tracker since this doesn't…
Browse files Browse the repository at this point in the history
… seem to be used yet in the the 1.1.x branch.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/branches/BRANCH_1_1_0@4653 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
vboctor committed Oct 20, 2007
1 parent 383726c commit 02a2036
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/tokens_api.php
Expand Up @@ -18,7 +18,7 @@
# along with Mantis. If not, see <http://www.gnu.org/licenses/>.

# --------------------------------------------------------
# $Id: tokens_api.php,v 1.8.2.1 2007-10-13 22:35:45 giallu Exp $
# $Id: tokens_api.php,v 1.8.2.2 2007-10-20 05:38:02 vboctor Exp $
# --------------------------------------------------------

# This implements temporary storage of strings.
Expand Down Expand Up @@ -148,7 +148,7 @@ function token_delete( $p_type, $p_user_id = null ) {

$query = "DELETE FROM $t_tokens_table
WHERE type='$c_type' AND owner='$c_user_id'";
db_query( $result );
db_query( $query );

return true;
}
Expand Down

0 comments on commit 02a2036

Please sign in to comment.