1: <?php
2: /**
3: * Private Messages
4: *
5: * You may not change or alter any portion of this comment or credits
6: * of supporting developers from this source code or any supporting source code
7: * which is considered copyrighted (c) material of the original comment or credit authors.
8: * This program is distributed in the hope that it will be useful,
9: * but WITHOUT ANY WARRANTY; without even the implied warranty of
10: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11: *
12: * @copyright (c) 2000-2016 XOOPS Project (www.xoops.org)
13: * @license GNU GPL 2 (https://www.gnu.org/licenses/gpl-2.0.html)
14: * @package pm
15: * @since 2.4.0
16: * @author trabis <lusopoemas@gmail.com>
17: */
18:
19: // defined('XOOPS_ROOT_PATH') || exit('XOOPS root path not defined');
20:
21: /**
22: * PM system preloads
23: *
24: * @copyright (c) 2000-2016 XOOPS Project (www.xoops.org)
25: * @license GNU GPL 2 (https://www.gnu.org/licenses/gpl-2.0.html)
26: * @author trabis <lusopoemas@gmail.com>
27: */
28: class PmSystemPreload extends XoopsPreloadItem
29: {
30: /**
31: * @param $args
32: */
33: public static function eventSystemBlocksSystem_blocksUsershow($args)
34: {
35: $args[0] = xoops_getModuleHandler('message', 'pm');
36: }
37: }
38: