Permalink
Browse files

fixed adding database for user (problem: incorrect type supplied to f…

…unction is_object_valid)
  • Loading branch information...
Magentron committed Apr 6, 2013
1 parent c667274 commit c421cb7d04a57983b481d755f56f7a0de20696bb
Showing with 2 additions and 2 deletions.
  1. +2 −2 bin/v-add-database
View
@@ -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'

0 comments on commit c421cb7

Please sign in to comment.