]> git.mxchange.org Git - friendica.git/commitdiff
We should only use utf8mb4 for dumpsql and new installations
authorMichael Vogel <ike@pirati.ca>
Thu, 29 Sep 2016 06:31:42 +0000 (06:31 +0000)
committerMichael Vogel <ike@pirati.ca>
Thu, 29 Sep 2016 06:31:42 +0000 (06:31 +0000)
include/dbstructure.php

index 411def5d0d942ef7924736f437e96825f21cf749..89c439f8a4fc1150626c5c066b22a1cf286f6e0c 100644 (file)
@@ -262,7 +262,7 @@ function db_create_table($name, $fields, $verbose, $action, $indexes=null) {
 
        if (isset($a->config["system"]["db_charset"]))
                $charset = $a->config["system"]["db_charset"];
-       elseif ($verbose)
+       elseif (!$action) // Used for dumpsql
                $charset = "utf8mb4";
        else
                $charset = "utf8";