diff options
author | friendica <info@friendica.com> | 2013-03-13 16:28:41 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-03-13 16:28:41 -0700 |
commit | ed2bcb6855e3d0e74e1b85aeb69e380a562b0c89 (patch) | |
tree | d8115f7721ba3e56af57ee714956e653c57bd682 /install/update.php | |
parent | 62e55ae63b8a32de09987a6e738fd620a9b2f7ea (diff) | |
download | volse-hubzilla-ed2bcb6855e3d0e74e1b85aeb69e380a562b0c89.tar.gz volse-hubzilla-ed2bcb6855e3d0e74e1b85aeb69e380a562b0c89.tar.bz2 volse-hubzilla-ed2bcb6855e3d0e74e1b85aeb69e380a562b0c89.zip |
directory synchronisation timestamps
Diffstat (limited to 'install/update.php')
-rw-r--r-- | install/update.php | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php index 2d06e406a..4bdba3507 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1034 ); +define( 'UPDATE_VERSION' , 1035 ); /** * @@ -433,3 +433,15 @@ KEY `share_xchan` (`share_xchan`) return UPDATE_FAILED; } +function update_r1034() { + $r = q("CREATE TABLE if not exists `updates` ( +`ud_hash` CHAR( 128 ) NOT NULL , +`ud_date` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', +PRIMARY KEY ( `ud_hash` ), +KEY `ud_date` ( `ud_date` ) +) ENGINE = MYISAM DEFAULT CHARSET = utf8"); + + if($r) + return UPDATE_SUCCESS; + return UPDATE_FAILED; +} |