clear cache after updated or uninstalled...
This commit is contained in:
@@ -983,6 +983,9 @@ if( $user->data['is_registered'] && $auth->acl_get('a_') )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// clear cache and log what we did
|
||||||
|
$cache->purge();
|
||||||
|
add_log('admin', $page_title . ' updated');
|
||||||
$updated = true;
|
$updated = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1097,8 +1100,11 @@ if( $user->data['is_registered'] && $auth->acl_get('a_') )
|
|||||||
$db->sql_query($sql);
|
$db->sql_query($sql);
|
||||||
}
|
}
|
||||||
$db->sql_freeresult($result);
|
$db->sql_freeresult($result);
|
||||||
|
|
||||||
$installed = true;
|
// clear cache and log what we did
|
||||||
|
$cache->purge();
|
||||||
|
add_log('admin', $page_title . ' uninstalled');
|
||||||
|
$uninstalled = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user