clear cache after updated or uninstalled...

This commit is contained in:
Christian
2008-11-13 21:29:37 +00:00
parent 67ac3d786a
commit 38bd74b942

View File

@@ -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;
}
}
@@ -1097,8 +1100,11 @@ if( $user->data['is_registered'] && $auth->acl_get('a_') )
$db->sql_query($sql);
}
$db->sql_freeresult($result);
$installed = true;
// clear cache and log what we did
$cache->purge();
add_log('admin', $page_title . ' uninstalled');
$uninstalled = true;
}
else
{