Skip to content

Commit c1e0a9b

Browse files
committed
Remove unused function
1 parent a94335c commit c1e0a9b

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

library/lib/database.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -248,13 +248,6 @@ function db_tableexists($table, $dbid = false)
248248
return in_array($table, $tables);
249249
}
250250

251-
function db_touch($table, $id)
252-
{
253-
if (db_fieldexists($table, 'modified')) {
254-
db_query('UPDATE '.$table.' SET modified = NOW(), modified_by = :user WHERE id = :id', ['user' => $_SESSION['user']['id'], 'id' => $id]);
255-
}
256-
}
257-
258251
function db_simulate($query, $array = [], $dbid = false)
259252
{
260253
global $defaultdbid;

0 commit comments

Comments
 (0)