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

@@ 373-388 (lines=16) @@
370
    /**
371
     * @return array
372
     */
373
    public function getTags()
374
    {
375
        $tags = [
376
            '((session_name))',
377
            '((session_start_date))',
378
            '((session_end_date))',
379
            '((general_coach))',
380
            '((general_coach_email))',
381
            '((user_complete_name))',
382
            '((user_first_name))',
383
            '((user_last_name))',
384
            '((lp_progress))'
385
        ];
386
387
        return $tags;
388
    }
389
390
    /**
391
     * @return bool