function updateHookCache($hook) { L::loadClass('hook', 'hook', false); $pwHook = new PW_Hook($hook); $pwHook->packHookFiles(); }