diff --git a/lib/config.php b/lib/config.php index 2c82036257f95e4206c901e1d2f8e0ec27e7e07d..8d03271b3eaacfc573e38e0f3c662da3d72be432 100644 --- a/lib/config.php +++ b/lib/config.php @@ -94,7 +94,6 @@ class OC_Config{ // Write changes self::writeData(); - return true; } diff --git a/lib/setup.php b/lib/setup.php index e2d56ddaf4ad2f78824c0750ce96caf2aaad170f..8afe0070e9bdc7ed0f9bcd68a113ab94695dd5a1 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -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']; diff --git a/settings/templates/personal.php b/settings/templates/personal.php index 54487165f3c2098c02dd2b1f92afb53463f9a9a8..8c5de5ccf2a1c1d127916dca91ff9d72acecbf3a 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -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>