projects
/
racktables
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
354a739
)
r4278 add unset() back
author
Denis Ovsienko
<infrastation@yandex.ru>
Thu, 3 Mar 2011 12:24:37 +0000
(12:24 +0000)
committer
Denis Ovsienko
<infrastation@yandex.ru>
Thu, 3 Mar 2011 12:24:37 +0000
(12:24 +0000)
wwwroot/inc/database.php
patch
|
blob
|
blame
|
history
diff --git
a/wwwroot/inc/database.php
b/wwwroot/inc/database.php
index a63a4e372b18caf03e8a6d45703d9589227da4df..4ba9dfb9f0688b362580445a53b3da7db39eb93a 100644
(file)
--- a/
wwwroot/inc/database.php
+++ b/
wwwroot/inc/database.php
@@
-3437,6
+3437,7
@@
function getFile ($file_id)
// FIXME: isn't this repeating the code already in spotEntity()?
throw new EntityNotFoundException ('file', $file_id);
+ unset ($query);
// Someone accessed this file, update atime
usePreparedExecuteBlade ('UPDATE File SET atime = NOW() WHERE id = ?', array ($file_id));
return $row;