Code Duplication    Length = 14-16 lines in 2 locations

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

@@ 4467-4480 (lines=14) @@
4464
    /**
4465
     * @return array
4466
     */
4467
    public static function get_system_folders()
4468
    {
4469
        return array(
4470
            '/certificates',
4471
            '/HotPotatoes_files',
4472
            '/chat_files',
4473
            '/images',
4474
            '/flash',
4475
            '/audio',
4476
            '/video',
4477
            '/shared_folder',
4478
            '/learning_path'
4479
        );
4480
    }
4481
4482
    /**
4483
     * @return array

main/inc/lib/ScheduledAnnouncement.php 1 location

@@ 351-366 (lines=16) @@
348
    /**
349
     * @return array
350
     */
351
    public function getTags()
352
    {
353
        $tags = [
354
            '((session_name))',
355
            '((session_start_date))',
356
            '((session_end_date))',
357
            '((general_coach))',
358
            '((general_coach_email))',
359
            '((user_complete_name))',
360
            '((user_first_name))',
361
            '((user_last_name))',
362
            '((lp_progress))'
363
        ];
364
365
        return $tags;
366
    }
367
368
    /**
369
     * @return bool