]> source.dussan.org Git - nextcloud-server.git/commitdiff
second half of the updating stuff
authorFrank Karlitschek <frank@devel.(none)>
Sat, 19 Nov 2011 11:02:34 +0000 (12:02 +0100)
committerFrank Karlitschek <frank@devel.(none)>
Sat, 19 Nov 2011 11:02:34 +0000 (12:02 +0100)
lib/config.php
lib/setup.php
settings/templates/personal.php

index 2c82036257f95e4206c901e1d2f8e0ec27e7e07d..8d03271b3eaacfc573e38e0f3c662da3d72be432 100644 (file)
@@ -94,7 +94,6 @@ class OC_Config{
 
                // Write changes
                self::writeData();
-
                return true;
        }
 
index e2d56ddaf4ad2f78824c0750ce96caf2aaad170f..8afe0070e9bdc7ed0f9bcd68a113ab94695dd5a1 100644 (file)
@@ -77,6 +77,8 @@ class OC_Setup {
                        OC_Config::setValue('datadirectory', $datadir);
                        OC_Config::setValue('dbtype', $dbtype);
                        OC_Config::setValue('version',implode('.',OC_Util::getVersion()));
+                       OC_Config::setValue('installedat',microtime(true));
+                       OC_Config::setValue('lastupdatedat',microtime(true));
                        if($dbtype == 'mysql') {
                                $dbuser = $options['dbuser'];
                                $dbpass = $options['dbpass'];
index 54487165f3c2098c02dd2b1f92afb53463f9a9a8..8c5de5ccf2a1c1d127916dca91ff9d72acecbf3a 100644 (file)
@@ -50,7 +50,9 @@
 };?>
 
 <p class="personalblock">
-       <strong>ownCloud</strong> <?php echo(OC_Util::getVersionString()); ?>, <a href="http://gitorious.org/owncloud" target="_blank">source code</a> licensed freely under <a href="http://www.gnu.org/licenses/agpl-3.0.html" target="_blank">AGPL</a>
+       <strong>ownCloud</strong> <?php echo(OC_Util::getVersionString()); ?><br />
+       <?php echo(OC_Updater::ShowUpdatingHint());     ?><br />
+       <a href="http://gitorious.org/owncloud" target="_blank">source code</a> licensed freely under <a href="http://www.gnu.org/licenses/agpl-3.0.html" target="_blank">AGPL</a>
 </p>