Skip to content
Snippets Groups Projects
Commit f467ccc3 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

extract color definitions into separate file to avoid duplicated definition, re #2193

Merge request studip/studip!1423
parent 60359970
No related branches found
No related tags found
1 merge request!4Draft: Icon creation
...@@ -14,9 +14,7 @@ ...@@ -14,9 +14,7 @@
* @category Stud.IP * @category Stud.IP
*/ */
define('DEFAULT_COLOR_SEM', 2); require_once __DIR__ . '/default_color_definitions.php';
define('DEFAULT_COLOR_NEW', 3);
define('DEFAULT_COLOR_VIRTUAL', 1);
/** /**
* Pseudo-namespace containing helper methods for the calendar of institutes. * Pseudo-namespace containing helper methods for the calendar of institutes.
...@@ -25,7 +23,6 @@ define('DEFAULT_COLOR_VIRTUAL', 1); ...@@ -25,7 +23,6 @@ define('DEFAULT_COLOR_VIRTUAL', 1);
*/ */
class CalendarInstscheduleModel class CalendarInstscheduleModel
{ {
/** /**
* Returns a schedule entry for a course * Returns a schedule entry for a course
* *
......
...@@ -14,9 +14,7 @@ ...@@ -14,9 +14,7 @@
* @category Stud.IP * @category Stud.IP
*/ */
define('DEFAULT_COLOR_SEM', 2); require_once __DIR__ . '/default_color_definitions.php';
define('DEFAULT_COLOR_NEW', 3);
define('DEFAULT_COLOR_VIRTUAL', 1);
/** /**
* Pseudo-namespace containing helper methods for the schedule. * Pseudo-namespace containing helper methods for the schedule.
......
<?php
define('DEFAULT_COLOR_SEM', 2);
define('DEFAULT_COLOR_NEW', 3);
define('DEFAULT_COLOR_VIRTUAL', 1);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment