aboutsummaryrefslogtreecommitdiff
path: root/upgrade.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-08-31 19:05:21 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-08-31 19:05:21 +0000
commitc5cc2821311012a8a4385a304a043c4b41f2afbb (patch)
tree3703351e4b5d56905eb52547d6129ffa14cb2a32 /upgrade.php
parent775a5f08c501acc565c69659022bc31052677485 (diff)
downloadelgg-c5cc2821311012a8a4385a304a043c4b41f2afbb.tar.gz
elgg-c5cc2821311012a8a4385a304a043c4b41f2afbb.tar.bz2
All line endings are now Unix-style.
git-svn-id: https://code.elgg.org/elgg/trunk@3451 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'upgrade.php')
-rw-r--r--upgrade.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/upgrade.php b/upgrade.php
index e1b297d83..8de74ad54 100644
--- a/upgrade.php
+++ b/upgrade.php
@@ -11,22 +11,22 @@
* @link http://elgg.org/
*/
- // Include elgg engine
- define('upgrading','upgrading');
+ // Include elgg engine
+ define('upgrading','upgrading');
define('externalpage',true);
- require_once(dirname(__FILE__) . "/engine/start.php");
-
+ require_once(dirname(__FILE__) . "/engine/start.php");
+
if (get_input('upgrade') == 'upgrade') {
if (version_upgrade_check()) {
version_upgrade();
- }
+ }
datalist_set('simplecache_lastupdate',0);
- elgg_filepath_cache_reset();
- } else {
- global $CONFIG;
- echo elgg_view('settings/upgrading');
- exit;
+ elgg_filepath_cache_reset();
+ } else {
+ global $CONFIG;
+ echo elgg_view('settings/upgrading');
+ exit;
}
forward();