Ver código fonte

Free variable after use

Bob Mottram 7 anos atrás
pai
commit
f99ed7f79f
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1
    0
      src/freedombone-utils-gnusocialtools

+ 1
- 0
src/freedombone-utils-gnusocialtools Ver arquivo

@@ -56,6 +56,7 @@ function gnusocial_update_after_restore {
56 56
     # Ensure that the database password is correct
57 57
     MARIADB_PASSWORD=$(${PROJECT_NAME}-pass -u root -a mariadb)
58 58
     sed -i "s|\$config['db']['database'].*|\$config['db']['database'] = 'mysqli://root:${MARIADB_PASSWORD}@localhost/${gnusocial_variant}';|g" config.php
59
+    MARIADB_PASSWORD=
59 60
 
60 61
     # Set permissions
61 62
     chmod g+w /var/www/$gnusocial_domain/htdocs