PluginProbe
ShiftController Employee Shift Scheduling / 4.9.24
ShiftController Employee Shift Scheduling v4.9.24
4.9.97 4.9.96 4.9.95 4.9.74 4.9.75 4.9.76 4.9.77 4.9.78 4.9.84 4.9.85 4.9.87 4.9.91 4.9.92 trunk 2.1.0 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 3.2.4 All 38 releases
← All changes | sh4/shifttypes/query.php +2 -4 trunk4.9.24 View file →
@@ -7,10 +7,8 @@
7 7 }
8 8
9 9 class SH4_ShiftTypes_Query implements SH4_ShiftTypes_IQuery
10 10 {
11 - public $crud, $calendarsQuery, $shiftTypesPresenter, $self;
12 -
13 11 public function __construct(
14 12 HC3_Hooks $hooks,
15 13 HC3_CrudFactory $crudFactory,
16 14 SH4_Calendars_Query $calendarsQuery,
@@ -32,9 +30,9 @@
32 30 $end = array_shift( $parts );
33 31
34 32 $array = array();
35 33 $array['id'] = 0;
36 - $array['title'] = '- ' . '__Custom Time__' . ' -';
34 + $array['title'] = '__-Custom Time-__';
37 35 $array['starts_at'] = $start;
38 36 $array['ends_at'] = $end;
39 37
40 38 if( $parts ){
@@ -49,9 +47,9 @@
49 47 }
50 48 elseif( $id == 0 ){
51 49 $array = array();
52 50 $array['id'] = 0;
53 - $array['title'] = '- ' . '__Custom Time__' . ' -';
51 + $array['title'] = '__-Custom Time-__';
54 52 $array['starts_at'] = NULL;
55 53 $array['ends_at'] = NULL;
56 54
57 55 $return = $this->_arrayToModel( $array );