Completed
Push — master ( 3e3e88...d3bebc )
by Gino
08:11 queued 03:57
created
class/files/user/UserXoopsVersion.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -294,7 +294,7 @@  discard block
 block discarded – undo
294 294
             if ($extra !== false) {
295 295
                 $ret .= $this->usercode->getUserModVersion(2, "{$arrayFile} '{$moduleDirname}_{$type}_{$extra}.tpl', {$desc})", 'templates', '');
296 296
             } else {
297
-				$ret .= $this->usercode->getUserModVersion(2, "{$arrayFile} '{$moduleDirname}_{$type}.tpl', {$desc})", 'templates', '');                
297
+                $ret .= $this->usercode->getUserModVersion(2, "{$arrayFile} '{$moduleDirname}_{$type}.tpl', {$desc})", 'templates', '');                
298 298
             }
299 299
         }
300 300
 
@@ -680,8 +680,8 @@  discard block
 block discarded – undo
680 680
         $tableCategory = array();
681 681
         $tableBroken = array();
682 682
         $tableSubmit = array();
683
-		$tableId = null;
684
-		$tableMid = null;
683
+        $tableId = null;
684
+        $tableMid = null;
685 685
         foreach (array_keys($tables) as $t) {
686 686
             $tableId = $tables[$t]->getVar('table_id');
687 687
             $tableMid = $tables[$t]->getVar('table_mid');
@@ -700,7 +700,7 @@  discard block
 block discarded – undo
700 700
         }
701 701
         $fields = $this->getTableFields($tableMid, $tableId);
702 702
         $fieldId = null;
703
-		$fieldParent = null;
703
+        $fieldParent = null;
704 704
         foreach (array_keys($fields) as $f) {
705 705
             $fieldName = $fields[$f]->getVar('field_name');
706 706
             $fieldElement = $fields[$f]->getVar('field_element');
Please login to merge, or discard this patch.
Spacing   +27 added lines, -27 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
 
153 153
         $descriptions = array('name' => "{$language}NAME", 'version' => "{$module->getVar('mod_version')}", 'description' => "{$language}DESC",
154 154
                             'author' => "'{$module->getVar('mod_author')}'", 'author_mail' => "'{$module->getVar('mod_author_mail')}'", 'author_website_url' => "'{$module->getVar('mod_author_website_url')}'",
155
-                            'author_website_name' => "'{$module->getVar('mod_author_website_name')}'",'credits' => "'{$module->getVar('mod_credits')}'",'license' => "'{$module->getVar('mod_license')}'",
155
+                            'author_website_name' => "'{$module->getVar('mod_author_website_name')}'", 'credits' => "'{$module->getVar('mod_credits')}'", 'license' => "'{$module->getVar('mod_license')}'",
156 156
                             'license_url' => "'www.gnu.org/licenses/gpl-2.0.html/'", 'help' => "'page=help'", 'release_info' => "'{$module->getVar('mod_release_info')}'",
157 157
                             'release_file' => "XOOPS_URL . '/modules/{$module->getVar('mod_dirname')}/docs/{$module->getVar('mod_release_file')}'", 'release_date' => "'{$date}'",
158 158
                             'manual' => "'{$module->getVar('mod_manual')}'", 'manual_file' => "XOOPS_URL . '/modules/{$module->getVar('mod_dirname')}/docs/{$module->getVar('mod_manual_file')}'",
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
                             'demo_site_url' => "'{$module->getVar('mod_demo_site_url')}'", 'demo_site_name' => "'{$module->getVar('mod_demo_site_name')}'", 'support_url' => "'{$module->getVar('mod_support_url')}'",
164 164
                             'support_name' => "'{$module->getVar('mod_support_name')}'", 'module_website_url' => "'{$module->getVar('mod_website_url')}'", 'module_website_name' => "'{$module->getVar('mod_website_name')}'", 'release' => "'{$module->getVar('mod_release')}'", 'module_status' => "'{$module->getVar('mod_status')}'",
165 165
                             'system_menu' => '1', 'hasAdmin' => $ha, 'hasMain' => $hm, 'adminindex' => "'admin/index.php'", 'adminmenu' => "'admin/menu.php'",
166
-                            'onInstall' => "'include/install.php'", 'onUpdate' => "'include/update.php'", );
166
+                            'onInstall' => "'include/install.php'", 'onUpdate' => "'include/update.php'",);
167 167
 
168 168
         $ret .= $this->usercode->getUserModVersion(1, $descriptions);
169 169
 
@@ -454,7 +454,7 @@  discard block
 block discarded – undo
454 454
         $ret = $this->getCommentLine("{$ucfType}");
455 455
         $blocks = array('file' => "'{$tableName}.php'", 'name' => "{$language}{$stuTableName}_BLOCK_{$stuType}", 'description' => "{$language}{$stuTableName}_BLOCK_{$stuType}_DESC",
456 456
                         'show_func' => "'b_{$moduleDirname}_{$tableName}_show'", 'edit_func' => "'b_{$moduleDirname}_{$tableName}_edit'",
457
-                        'template' => "'{$moduleDirname}_block_{$tableName}.tpl'", 'options' => "'{$type}|5|25|0'", );
457
+                        'template' => "'{$moduleDirname}_block_{$tableName}.tpl'", 'options' => "'{$type}|5|25|0'",);
458 458
         $ret .= $this->usercode->getUserModVersion(3, $blocks, 'blocks', '$b');
459 459
         $ret .= $this->getSimpleString('++$b;');
460 460
 
@@ -492,7 +492,7 @@  discard block
 block discarded – undo
492 492
             $ret .= $this->xoopscode->getXoopsCodeLoad('xoopseditorhandler');
493 493
             $ret .= $this->xoopscode->getXoopsCodeEqualsOperator('editorHandler ', 'XoopsEditorHandler::getInstance()');
494 494
             $editor = array('name' => "'{$moduleDirname}_editor_{$rpFieldName}'", 'title' => "'{$language}EDITOR_{$ucfFieldName}'", 'description' => "'{$language}EDITOR_{$ucfFieldName}_DESC'",
495
-                    'formtype' => "'select'", 'valuetype' => "'text'", 'default' => "'dhtml'", 'options' => 'array_flip($editorHandler->getList())', );
495
+                    'formtype' => "'select'", 'valuetype' => "'text'", 'default' => "'dhtml'", 'options' => 'array_flip($editorHandler->getList())',);
496 496
             $ret .= $this->usercode->getUserModVersion(3, $editor, 'config', '$c');
497 497
             $ret .= $this->getSimpleString('++$c;');
498 498
         }
@@ -503,7 +503,7 @@  discard block
 block discarded – undo
503 503
             $group = $this->xoopscode->getXoopsCodeEqualsOperator('$groups[$group] ', '$key');
504 504
             $ret .= $this->phpcode->getPhpCodeForeach('xoopsGroups', false, 'key', 'group', $group);
505 505
             $groups = array('name' => "'groups'", 'title' => "'{$language}GROUPS'", 'description' => "'{$language}GROUPS_DESC'",
506
-                        'formtype' => "'select_multi'", 'valuetype' => "'array'", 'default' => '$groups', 'options' => '$groups', );
506
+                        'formtype' => "'select_multi'", 'valuetype' => "'array'", 'default' => '$groups', 'options' => '$groups',);
507 507
             $ret .= $this->usercode->getUserModVersion(3, $groups, 'config', '$c');
508 508
             $ret .= $this->getSimpleString('++$c;');
509 509
             $ret .= $this->getCommentLine('Get Admin groups');
@@ -514,14 +514,14 @@  discard block
 block discarded – undo
514 514
             $adminGroup = $this->xoopscode->getXoopsCodeEqualsOperator('$adminGroups[$adminGroup] ', '$key');
515 515
             $ret .= $this->phpcode->getPhpCodeForeach('adminXoopsGroups', false, 'key', 'adminGroup', $adminGroup);
516 516
             $adminGroups = array('name' => "'admin_groups'", 'title' => "'{$language}GROUPS'", 'description' => "'{$language}GROUPS_DESC'",
517
-                        'formtype' => "'select_multi'", 'valuetype' => "'array'", 'default' => '$adminGroups', 'options' => '$adminGroups', );
517
+                        'formtype' => "'select_multi'", 'valuetype' => "'array'", 'default' => '$adminGroups', 'options' => '$adminGroups',);
518 518
             $ret .= $this->usercode->getUserModVersion(3, $adminGroups, 'config', '$c');
519 519
             $ret .= $this->getSimpleString('++$c;');
520 520
         }
521 521
         $keyword = implode(', ', $this->getKeywords());
522 522
         $ret .= $this->getCommentLine('Keywords');
523 523
         $arrayKeyword = array('name' => "'keywords'", 'title' => "'{$language}KEYWORDS'", 'description' => "'{$language}KEYWORDS_DESC'",
524
-                        'formtype' => "'textbox'", 'valuetype' => "'text'", 'default' => "'{$moduleDirname}, {$keyword}'", );
524
+                        'formtype' => "'textbox'", 'valuetype' => "'text'", 'default' => "'{$moduleDirname}, {$keyword}'",);
525 525
         $ret .= $this->usercode->getUserModVersion(3, $arrayKeyword, 'config', '$c');
526 526
         $ret .= $this->getSimpleString('++$c;');
527 527
         unset($this->keywords);
@@ -529,82 +529,82 @@  discard block
 block discarded – undo
529 529
             if (in_array(array(10, 11, 12, 13, 14), $fieldElement)) {
530 530
                 $ret .= $this->getCommentLine('Uploads : maxsize of image');
531 531
                 $maxsize = array('name' => "'maxsize'", 'title' => "'{$language}MAXSIZE'", 'description' => "'{$language}MAXSIZE_DESC'",
532
-                    'formtype' => "'textbox'", 'valuetype' => "'int'", 'default' => '5000000', );
532
+                    'formtype' => "'textbox'", 'valuetype' => "'int'", 'default' => '5000000',);
533 533
                 $ret .= $this->usercode->getUserModVersion(3, $maxsize, 'config', '$c');
534 534
                 $ret .= $this->getCommentLine('Uploads : mimetypes of image');
535 535
                 $ret .= $this->getSimpleString('++$c;');
536 536
                 $mimetypes = array('name' => "'mimetypes'", 'title' => "'{$language}MIMETYPES'", 'description' => "'{$language}MIMETYPES_DESC'",
537 537
                     'formtype' => "'select_multi'", 'valuetype' => "'array'", 'default' => "array('image/gif', 'image/jpeg', 'image/png')", 'options' => "array('bmp' => 'image/bmp','gif' => 'image/gif','pjpeg' => 'image/pjpeg',
538 538
 				   'jpeg' => 'image/jpeg','jpg' => 'image/jpg','jpe' => 'image/jpe',
539
-				   'png' => 'image/png')", );
539
+				   'png' => 'image/png')",);
540 540
                 $ret .= $this->usercode->getUserModVersion(3, $mimetypes, 'config', '$c');
541 541
                 $ret .= $this->getSimpleString('++$c;');
542 542
             }
543 543
             if (1 == $table->getVar('table_admin')) {
544 544
                 $ret .= $this->getCommentLine('Admin pager');
545 545
                 $adminPager = array('name' => "'adminpager'", 'title' => "'{$language}ADMIN_PAGER'", 'description' => "'{$language}ADMIN_PAGER_DESC'",
546
-                        'formtype' => "'textbox'", 'valuetype' => "'int'", 'default' => '10', );
546
+                        'formtype' => "'textbox'", 'valuetype' => "'int'", 'default' => '10',);
547 547
                 $ret .= $this->usercode->getUserModVersion(3, $adminPager, 'config', '$c');
548 548
                 $ret .= $this->getSimpleString('++$c;');
549 549
             }
550 550
             if (1 == $table->getVar('table_user')) {
551 551
                 $ret .= $this->getCommentLine('User pager');
552 552
                 $userPager = array('name' => "'userpager'", 'title' => "'{$language}USER_PAGER'", 'description' => "'{$language}USER_PAGER_DESC'",
553
-                        'formtype' => "'textbox'", 'valuetype' => "'int'", 'default' => '10', );
553
+                        'formtype' => "'textbox'", 'valuetype' => "'int'", 'default' => '10',);
554 554
                 $ret .= $this->usercode->getUserModVersion(3, $userPager, 'config', '$c');
555 555
                 $ret .= $this->getSimpleString('++$c;');
556 556
             }
557 557
             if (1 == $table->getVar('table_tag')) {
558 558
                 $ret .= $this->getCommentLine('Use tag');
559 559
                 $useTag = array('name' => "'usetag'", 'title' => "'{$language}USE_TAG'", 'description' => "'{$language}USE_TAG_DESC'",
560
-                        'formtype' => "'yesno'", 'valuetype' => "'int'", 'default' => '0', );
560
+                        'formtype' => "'yesno'", 'valuetype' => "'int'", 'default' => '0',);
561 561
                 $ret .= $this->usercode->getUserModVersion(3, $useTag, 'config', '$c');
562 562
                 $ret .= $this->getSimpleString('++$c;');
563 563
             }
564 564
         }
565 565
         $ret .= $this->getCommentLine('Number column');
566 566
         $numbCol = array('name' => "'numb_col'", 'title' => "'{$language}NUMB_COL'", 'description' => "'{$language}NUMB_COL_DESC'",
567
-                        'formtype' => "'select'", 'valuetype' => "'int'", 'default' => '1', 'options' => "array(1 => '1', 2 => '2', 3 => '3', 4 => '4')", );
567
+                        'formtype' => "'select'", 'valuetype' => "'int'", 'default' => '1', 'options' => "array(1 => '1', 2 => '2', 3 => '3', 4 => '4')",);
568 568
         $ret .= $this->usercode->getUserModVersion(3, $numbCol, 'config', '$c');
569 569
         $ret .= $this->getSimpleString('++$c;');
570 570
         $ret .= $this->getCommentLine('Divide by');
571 571
         $divideby = array('name' => "'divideby'", 'title' => "'{$language}DIVIDEBY'", 'description' => "'{$language}DIVIDEBY_DESC'",
572
-                        'formtype' => "'select'", 'valuetype' => "'int'", 'default' => '1', 'options' => "array(1 => '1', 2 => '2', 3 => '3', 4 => '4')", );
572
+                        'formtype' => "'select'", 'valuetype' => "'int'", 'default' => '1', 'options' => "array(1 => '1', 2 => '2', 3 => '3', 4 => '4')",);
573 573
         $ret .= $this->usercode->getUserModVersion(3, $divideby, 'config', '$c');
574 574
         $ret .= $this->getSimpleString('++$c;');
575 575
         $ret .= $this->getCommentLine('Table type');
576 576
         $tableType = array('name' => "'table_type'", 'title' => "'{$language}DIVIDEBY'", 'description' => "'{$language}DIVIDEBY_DESC'",
577
-                        'formtype' => "'select'", 'valuetype' => "'int'", 'default' => "'bordered'", 'options' => "array('bordered' => 'bordered', 'striped' => 'striped', 'hover' => 'hover', 'condensed' => 'condensed')", );
577
+                        'formtype' => "'select'", 'valuetype' => "'int'", 'default' => "'bordered'", 'options' => "array('bordered' => 'bordered', 'striped' => 'striped', 'hover' => 'hover', 'condensed' => 'condensed')",);
578 578
         $ret .= $this->usercode->getUserModVersion(3, $tableType, 'config', '$c');
579 579
         $ret .= $this->getSimpleString('++$c;');
580 580
         $ret .= $this->getCommentLine('Panel by');
581 581
         $panelType = array('name' => "'panel_type'", 'title' => "'{$language}PANEL_TYPE'", 'description' => "'{$language}PANEL_TYPE_DESC'",
582
-                        'formtype' => "'select'", 'valuetype' => "'text'", 'default' => "'default'", 'options' => "array('default' => 'default', 'primary' => 'primary', 'success' => 'success', 'info' => 'info', 'warning' => 'warning', 'danger' => 'danger')", );
582
+                        'formtype' => "'select'", 'valuetype' => "'text'", 'default' => "'default'", 'options' => "array('default' => 'default', 'primary' => 'primary', 'success' => 'success', 'info' => 'info', 'warning' => 'warning', 'danger' => 'danger')",);
583 583
         $ret .= $this->usercode->getUserModVersion(3, $panelType, 'config', '$c');
584 584
         $ret .= $this->getSimpleString('++$c;');
585 585
         $ret .= $this->getCommentLine('Panel by');
586 586
         $advertise = array('name' => "'advertise'", 'title' => "'{$language}ADVERTISE'", 'description' => "'{$language}ADVERTISE_DESC'",
587
-                        'formtype' => "'textarea'", 'valuetype' => "'text'", 'default' => "''", );
587
+                        'formtype' => "'textarea'", 'valuetype' => "'text'", 'default' => "''",);
588 588
         $ret .= $this->usercode->getUserModVersion(3, $advertise, 'config', '$c');
589 589
         $ret .= $this->getSimpleString('++$c;');
590 590
         $ret .= $this->getCommentLine('Panel by');
591 591
         $bookmarks = array('name' => "'bookmarks'", 'title' => "'{$language}BOOKMARKS'", 'description' => "'{$language}BOOKMARKS_DESC'",
592
-                        'formtype' => "'yesno'", 'valuetype' => "'int'", 'default' => '0', );
592
+                        'formtype' => "'yesno'", 'valuetype' => "'int'", 'default' => '0',);
593 593
         $ret .= $this->usercode->getUserModVersion(3, $bookmarks, 'config', '$c');
594 594
         $ret .= $this->getSimpleString('++$c;');
595 595
         $ret .= $this->getCommentLine('Facebook Comments');
596 596
         $facebookComments = array('name' => "'facebook_comments'", 'title' => "'{$language}FACEBOOK_COMMENTS'", 'description' => "'{$language}FACEBOOK_COMMENTS_DESC'",
597
-                        'formtype' => "'yesno'", 'valuetype' => "'int'", 'default' => '0', );
597
+                        'formtype' => "'yesno'", 'valuetype' => "'int'", 'default' => '0',);
598 598
         $ret .= $this->usercode->getUserModVersion(3, $facebookComments, 'config', '$c');
599 599
         $ret .= $this->getSimpleString('++$c;');
600 600
         $ret .= $this->getCommentLine('Disqus Comments');
601 601
         $disqusComments = array('name' => "'disqus_comments'", 'title' => "'{$language}DISQUS_COMMENTS'", 'description' => "'{$language}DISQUS_COMMENTS_DESC'",
602
-                        'formtype' => "'yesno'", 'valuetype' => "'int'", 'default' => '0', );
602
+                        'formtype' => "'yesno'", 'valuetype' => "'int'", 'default' => '0',);
603 603
         $ret .= $this->usercode->getUserModVersion(3, $disqusComments, 'config', '$c');
604 604
         $ret .= $this->getSimpleString('++$c;');
605 605
         $ret .= $this->getCommentLine('Maintained by');
606 606
         $maintainedby = array('name' => "'maintainedby'", 'title' => "'{$language}MAINTAINEDBY'", 'description' => "'{$language}MAINTAINEDBY_DESC'",
607
-                        'formtype' => "'yesno'", 'valuetype' => "'int'", 'default' => "'{$module->getVar('mod_support_url')}'", );
607
+                        'formtype' => "'yesno'", 'valuetype' => "'int'", 'default' => "'{$module->getVar('mod_support_url')}'",);
608 608
         $ret .= $this->usercode->getUserModVersion(3, $maintainedby, 'config', '$c');
609 609
         $ret .= $this->getSimpleString('unset($c);');
610 610
 
@@ -640,14 +640,14 @@  discard block
 block discarded – undo
640 640
             case 'category':
641 641
                 $ret .= $this->getCommentLine('Category Notify');
642 642
                 $category = array('name' => "'category'", 'title' => "'{$language}{$stuTableName}_NOTIFY'", 'description' => "'{$language}{$stuTableName}_NOTIFY_DESC'",
643
-                                    'subscribe_from' => "array('index.php',{$notifyFile})", 'item_name' => "'{$item}'", "'allow_bookmark'" => '1', );
643
+                                    'subscribe_from' => "array('index.php',{$notifyFile})", 'item_name' => "'{$item}'", "'allow_bookmark'" => '1',);
644 644
                 $ret .= $this->usercode->getUserModVersion(3, $category, 'notification', "'{$type}'");
645 645
                 break;
646 646
             case 'event':
647 647
                 $ret .= $this->getCommentLine('Event Notify');
648 648
                 $event = array('name' => "'{$typeOfNotify}'", 'category' => "'{$tableName}'", 'admin_only' => '1', "'title'" => "'{$language}{$stuTableName}_{$stuTypeOfNotify}_NOTIFY'",
649 649
                                 'caption' => "'{$language}{$stuTableName}_{$stuTypeOfNotify}_NOTIFY_CAPTION'", 'description' => "'{$language}{$stuTableName}_{$stuTypeOfNotify}_NOTIFY_DESC'",
650
-                                'mail_template' => "'{$tableName}_{$typeOfNotify}_notify'", 'mail_subject' => "'{$language}{$stuTableName}_{$stuTypeOfNotify}_NOTIFY_SUBJECT'", );
650
+                                'mail_template' => "'{$tableName}_{$typeOfNotify}_notify'", 'mail_subject' => "'{$language}{$stuTableName}_{$stuTypeOfNotify}_NOTIFY_SUBJECT'",);
651 651
                 $ret .= $this->usercode->getUserModVersion(3, $event, 'notification', "'{$type}'");
652 652
                 break;
653 653
         }
@@ -766,7 +766,7 @@  discard block
 block discarded – undo
766 766
         $implodeFrom = implode(".php', '", $from);
767 767
         $ret = $this->getCommentLine('Global Notify');
768 768
         $global = array('name' => "'{$name}'", 'title' => "{$language}{$title}_NOTIFY", 'description' => "{$language}{$title}_NOTIFY_DESC",
769
-                        'subscribe_from' => "array('index.php', '{$implodeFrom}.php')", );
769
+                        'subscribe_from' => "array('index.php', '{$implodeFrom}.php')",);
770 770
         $ret .= $this->usercode->getUserModVersion(4, $global, 'notification', "'{$type}'", $num);
771 771
 
772 772
         return $ret;
@@ -790,7 +790,7 @@  discard block
 block discarded – undo
790 790
         $impFile = implode(".php', '", $file);
791 791
         $ret = $this->getCommentLine('Category Notify');
792 792
         $global = array('name' => "'{$name}'", 'title' => "{$language}{$title}_NOTIFY", 'description' => "{$language}{$title}_NOTIFY_DESC",
793
-                        'subscribe_from' => "array('{$impFile}.php')", 'item_name' => "'{$item}'", 'allow_bookmark' => "{$allow}", );
793
+                        'subscribe_from' => "array('{$impFile}.php')", 'item_name' => "'{$item}'", 'allow_bookmark' => "{$allow}",);
794 794
         $ret .= $this->usercode->getUserModVersion(4, $global, 'notification', "'{$type}'", $num);
795 795
 
796 796
         return $ret;
@@ -816,7 +816,7 @@  discard block
 block discarded – undo
816 816
         $ucfTitle = ucfirst($title);
817 817
         $ret = $this->getCommentLine($ucfTitle.' Notify');
818 818
         $global = array('name' => "'{$name}'", 'title' => "{$language}{$stuTitle}_NOTIFY", 'description' => "{$language}{$stuTitle}_NOTIFY_DESC",
819
-                        'subscribe_from' => "'{$from}.php'", 'item_name' => "'{$item}'", 'allow_bookmark' => "{$allow}", );
819
+                        'subscribe_from' => "'{$from}.php'", 'item_name' => "'{$item}'", 'allow_bookmark' => "{$allow}",);
820 820
         $ret .= $this->usercode->getUserModVersion(4, $global, 'notification', "'{$type}'", $num);
821 821
 
822 822
         return $ret;
@@ -844,7 +844,7 @@  discard block
 block discarded – undo
844 844
         $ret = $this->getCommentLine($ucfTitle.' Notify');
845 845
         $event = array('name' => "'{$name}'", 'category' => "'{$category}'", 'admin_only' => "{$admin}", 'title' => "{$language}{$title}_{$table}_NOTIFY",
846 846
                         'caption' => "{$language}{$title}_{$table}_NOTIFY_CAPTION", 'description' => "{$language}{$title}_{$table}_NOTIFY_DESC",
847
-                        'mail_template' => "'{$mail}'", 'mail_subject' => "{$language}{$title}_{$table}_NOTIFY_SUBJECT", );
847
+                        'mail_template' => "'{$mail}'", 'mail_subject' => "{$language}{$title}_{$table}_NOTIFY_SUBJECT",);
848 848
         $ret .= $this->usercode->getUserModVersion(4, $event, 'notification', "'{$type}'", $num);
849 849
 
850 850
         return $ret;
Please login to merge, or discard this patch.