]> git.mxchange.org Git - friendica.git/blobdiff - mod/install.php
Merge pull request #4208 from annando/thr-parent
[friendica.git] / mod / install.php
index 0da8ec040f2a11d59bd587a033cc51b87cc2fe2f..81e4805b2e5c7c1ee00ef1945b5dbf87e6293d64 100644 (file)
@@ -5,7 +5,8 @@
 use Friendica\App;
 use Friendica\Core\System;
 use Friendica\Database\DBM;
-use Friendica\Object\Photo;
+use Friendica\Database\DBStructure;
+use Friendica\Object\Image;
 
 $install_wizard_pass = 1;
 
@@ -503,7 +504,7 @@ function check_imagik(&$checks) {
 
        if (class_exists('Imagick')) {
                $imagick = true;
-               $supported = Photo::supportedTypes();
+               $supported = Image::supportedTypes();
                if (array_key_exists('image/gif', $supported)) {
                        $gif = true;
                }
@@ -535,9 +536,7 @@ function load_database_rem($v, $i) {
 }
 
 function load_database() {
-
-       require_once("include/dbstructure.php");
-       $errors = update_structure(false, true);
+       $errors = DBStructure::update(false, true);
 
        return $errors;
 }