Commits

Zhang Huangbin committed 1f463f5

Don't try to create duplicate SQL table/trigger.

Comments (0)

Files changed (1)

iRedMail/functions/iredadmin.sh

 FLUSH PRIVILEGES;
 EOF
 
-        # Import addition tables.
-        if [ X"${BACKEND}" == X"OPENLDAP" ]; then
-            ${MYSQL_CLIENT_ROOT} <<EOF
-USE ${IREDADMIN_DB_NAME};
-SOURCE ${SAMPLE_DIR}/dovecot/used_quota.mysql;
-SOURCE ${SAMPLE_DIR}/dovecot/imap_share_folder.sql;
-FLUSH PRIVILEGES;
-EOF
-        fi
-
     elif [ X"${BACKEND}" == X'PGSQL' ]; then
         cp -f ${IREDADMIN_HTTPD_ROOT_SYMBOL_LINK}/docs/samples/iredadmin.pgsql ${PGSQL_DATA_DIR}/ >/dev/null
         chmod 0777 ${PGSQL_DATA_DIR}/iredadmin.pgsql >/dev/null