X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Finstall.php;h=81e4805b2e5c7c1ee00ef1945b5dbf87e6293d64;hb=c54a2c1e83822f6e043b449468570d2c9ed3ab3a;hp=0da8ec040f2a11d59bd587a033cc51b87cc2fe2f;hpb=5747cfc79c9ade7fb95cc95769ed06bb7ad118ef;p=friendica.git diff --git a/mod/install.php b/mod/install.php index 0da8ec040f..81e4805b2e 100644 --- a/mod/install.php +++ b/mod/install.php @@ -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; }