Code Duplication    Length = 13-14 lines in 2 locations

main/inc/lib/AnnouncementManager.php 1 location

@@ 23-35 (lines=13) @@
20
    /**
21
     * @return array
22
     */
23
    public static function get_tags()
24
    {
25
        return array(
26
            '((user_name))',
27
            '((user_firstname))',
28
            '((user_lastname))',
29
            '((teacher_name))',
30
            '((teacher_email))',
31
            '((course_title))',
32
            '((course_link))',
33
            '((official_code))',
34
        );
35
    }
36
37
    /**
38
     * @param int       $userId

main/inc/lib/document.lib.php 1 location

@@ 4279-4292 (lines=14) @@
4276
    /**
4277
     * @return array
4278
     */
4279
    public static function get_system_folders()
4280
    {
4281
        return array(
4282
            '/certificates',
4283
            '/HotPotatoes_files',
4284
            '/chat_files',
4285
            '/images',
4286
            '/flash',
4287
            '/audio',
4288
            '/video',
4289
            '/shared_folder',
4290
            '/learning_path'
4291
        );
4292
    }
4293
4294
    /**
4295
     * @return array