bug #3175227 [auth] Reset user cache on login.

This commit is contained in:
Michal Čihař
2011-02-08 13:15:01 +01:00
parent a6e6c3fcf1
commit cd74e9fa5d
4 changed files with 19 additions and 0 deletions

View File

@@ -2528,6 +2528,13 @@ function PMA_generate_slider_effect($id, $message)
<?php
}
/**
* Clears cache content which needs to be refreshed on user change.
*/
function PMA_clearUserCache() {
PMA_cacheUnset('is_superuser', true);
}
/**
* Verifies if something is cached in the session
*