Merge pull request #67 from Magentron/fix-add-database

Unable to add database for user (Error: localhost not exist)
This commit is contained in:
Serghey Rodin 2013-04-07 23:55:24 -07:00
commit a81d2698f1

View file

@ -48,8 +48,8 @@ is_object_valid 'user' 'USER' "$user"
is_object_unsuspended 'user' 'USER' "$user"
is_object_new 'db' 'DB' "$database"
get_next_dbhost
is_object_valid "../../../conf/$type" 'HOST' "$host"
is_object_unsuspended "../../../conf/$type" 'HOST' "$host"
is_object_valid "../../../conf/$type" 'DBHOST' "$host"
is_object_unsuspended "../../../conf/$type" 'DBHOST' "$host"
#is_charset_valid
is_package_full 'DATABASES'