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

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