Added missing company settings to upgrade script, fixed company settings refreshing...
[fa-stable.git] / admin / backups.php
index 1168b4f2fc9ce803268684f45a1c581502411c96..0c039dea42205b6a2f482b2d226b09a90f96c8c9 100644 (file)
@@ -140,7 +140,7 @@ if (get_post('restore')) {
        if ($backup_name) {
                if (db_import($backup_path, $conn))
                        display_notification(_("Restore backup completed."));
-               refresh_sys_prefs(); // re-read system setup
+               $SysPrefs->refesh(); // re-read system setup
        } else
                display_error(_("Select backup file first."));
 }