Browse Source

One script needed to be moved, one script was obsolete

tags/3.6
Michael 1 year ago
parent
commit
0c35dff73d
2 changed files with 0 additions and 37 deletions
  1. 0
    0
      scripts/auth_ejabberd.php
  2. 0
    37
      util/db_update.php

include/auth_ejabberd.php → scripts/auth_ejabberd.php View File


+ 0
- 37
util/db_update.php View File

@@ -1,37 +0,0 @@
1
-<?php
2
-
3
-/**
4
- * @package util
5
- */
6
-
7
-use Friendica\App;
8
-use Friendica\Core\Config;
9
-
10
-/*
11
- * require boot.php
12
- */
13
-require_once("boot.php");
14
-
15
-if (empty($a)) {
16
-	$a = new App(dirname(__DIR__));
17
-}
18
-@include(".htconfig.php");
19
-
20
-$lang = get_browser_language();
21
-load_translation_table($lang);
22
-
23
-require_once("include/dba.php");
24
-dba::connect($db_host, $db_user, $db_pass, $db_data, false);
25
-unset($db_host, $db_user, $db_pass, $db_data);
26
-
27
-$build = Config::get('system', 'build');
28
-
29
-echo "Old DB VERSION: " . $build . "\n";
30
-echo "New DB VERSION: " . DB_UPDATE_VERSION . "\n";
31
-
32
-
33
-if ($build != DB_UPDATE_VERSION) {
34
-	echo "Updating database...";
35
-	update_db($a);
36
-	echo "Done\n";
37
-}

Loading…
Cancel
Save