[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Librefm-commits] [1032] should set a 'created' date when creating a gro
From: |
Toby Inkster |
Subject: |
[Librefm-commits] [1032] should set a 'created' date when creating a group |
Date: |
Wed, 29 Apr 2009 23:18:19 +0000 |
Revision: 1032
http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1032
Author: tobyink
Date: 2009-04-29 23:18:18 +0000 (Wed, 29 Apr 2009)
Log Message:
-----------
should set a 'created' date when creating a group
Modified Paths:
--------------
trunk/nixtape/data/Group.php
Modified: trunk/nixtape/data/Group.php
===================================================================
--- trunk/nixtape/data/Group.php 2009-04-29 23:16:33 UTC (rev 1031)
+++ trunk/nixtape/data/Group.php 2009-04-29 23:18:18 UTC (rev 1032)
@@ -85,9 +85,10 @@
// Should check to make sure no existing group with same name
(case-insensitive).
- $q = sprintf("INSERT INTO Groups (groupname, owner, modified)
VALUES (%s, %s, %d)"
+ $q = sprintf("INSERT INTO Groups (groupname, owner, created,
modified) VALUES (%s, %s, %d, %d)"
, $mdb2->quote($name, 'text')
, $mdb2->quote($owner->name, 'text')
+ , time()
, time());
$res = $mdb2->query($q);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Librefm-commits] [1032] should set a 'created' date when creating a group,
Toby Inkster <=