[otrs-cvs] FAQ/Kernel/System FAQ.pm,1.167,1.168

"CVS commits notifications of OTRS.org" <[email protected]> Sat, 29 Jun 2013 23:27:57 +0000
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/FAQ/Kernel/System
In directory lancelot:/tmp/cvs-serv24693/Kernel/System

Modified Files:
	FAQ.pm 
Log Message:
Moved all category functions to a separated file.

Author: cr

Index: FAQ.pm
===================================================================
RCS file: /home/cvs/FAQ/Kernel/System/FAQ.pm,v
retrieving revision 1.167
retrieving revision 1.168
diff -2 -u -d -r1.167 -r1.168
--- FAQ.pm	29 Jun 2013 15:43:10 -0000	1.167
+++ FAQ.pm	29 Jun 2013 23:27:52 -0000	1.168
@@ -25,5 +25,5 @@
 use Kernel::System::Web::UploadCache;
 
-use base qw(Kernel::System::FAQ::Language);
+use base qw( Kernel::System::FAQ::Language Kernel::System::FAQ::Category );
 
 use vars qw($VERSION);
@@ -1787,941 +1787,4 @@
 }
 
-=item CategoryList()
-
[...1788 lines suppressed...]
-                next GROUPID if !defined $Param{UserGroups}->{$GroupID};
-
-                # add category
-                $SubCategories{$CategoryID} = $Param{Categories}->{$ParentID}->{$CategoryID};
-
-                # add empty hash if category has no subcategories
-                if ( !$UserCategories{$CategoryID} ) {
-                    $UserCategories{$CategoryID} = {};
-                }
-
-                last GROUPID;
-            }
-        }
-        $UserCategories{$ParentID} = \%SubCategories;
-    }
-    return \%UserCategories;
-}
-
 =item _FAQApprovalUpdate()
 
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log