Commit e13c6ad1 authored by Penny Leach's avatar Penny Leach
Browse files

fixing bug in ensure_internal_plugins_exist

parent bd4ed10d
......@@ -131,7 +131,7 @@ function ensure_sanity() {
*/
function ensure_internal_plugins_exist() {
// Internal things installed
if (!get_config('installed')) {
if (get_config('installed')) {
foreach (plugin_types() as $type) {
if (!record_exists($type . '_installed', 'name', 'internal')) {
throw new ConfigSanityException(get_string($type . 'notinstalled'));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment