kernel/classes/datatypes/ezuser/ezuser.php
static public function purgeUserCacheByUserId( $userId )
    {
        if ( eZINI::instance()->variable( 'RoleSettings', 'EnableCaching' ) === 'true' )
        {
            $cacheFilePath = eZUser::getCacheDir( $userId ). "/user-data-{$userId}.cache.php" ;
            eZClusterFileHandler::instance()->fileDelete( $cacheFilePath );
        }
    }
static public function purgeUserCacheByUserId( $userId )
    {
        if ( eZINI::instance()->variable( 'RoleSettings', 'EnableCaching' ) === 'true' )
        {
            $cacheFilePath = eZUser::getCacheDir( $userId ). "/user-data-{$userId}.cache.php" ;
            eZClusterFileHandler::instance()->fileDelete( $cacheFilePath );
        }
    }
static public function purgeUserCacheByUserId ( $ userId ) { if ( eZINI :: instance ( ) -> variable ( 'RoleSettings' , 'EnableCaching' ) === 'true' ) { $ cacheFilePath = eZUser :: getCacheDir ( $ userId ) . "/user-data-{$userId}.cache.php" ; eZClusterFileHandler :: instance ( ) -> fileDelete ( $ cacheFilePath ) ; } }
Delete User cache pr user

@since 4.4
@param int $userId
Delete User cache pr user