aboutsummaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2006-12-02 13:34:51 +0000
committerrub <rub@piwigo.org>2006-12-02 13:34:51 +0000
commit9ce5c07734b5f3219c0a50b5cba67eb2d3021716 (patch)
tree0031f703d0082357e8aee21ddb00cc8c4426b3b9 /install
parentceef62b12c3da57d169330160b8ca74c55782d3a (diff)
Improve database update of svn:1624
git-svn-id: http://piwigo.org/svn/trunk@1626 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--install/db/37-database.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/install/db/37-database.php b/install/db/37-database.php
index ba334153b..2fb92a255 100644
--- a/install/db/37-database.php
+++ b/install/db/37-database.php
@@ -50,6 +50,13 @@ CREATE TABLE '.USER_CACHE_CATEGORIES_TABLE.' (
PRIMARY KEY (`user_id`, `cat_id`)
) TYPE=MyISAM;';
pwg_query($query);
+
+echo "Update table cache ".USER_CACHE_TABLE;
+$query = '
+UPDATE '.USER_CACHE_TABLE.'
+ SET need_update = \'true\'
+;';
+pwg_query($query);
echo
"\n"