programs/utilit/agent_right.class.php 1 location
|
@@ 1092-1094 (lines=3) @@
|
| 1089 |
|
$access= false; |
| 1090 |
|
} |
| 1091 |
|
|
| 1092 |
|
if( $this->getDateEndValid() != '0000-00-00' && (bab_mktime($this->getDateEndValid()." 23:59:59") < mktime())){ |
| 1093 |
|
$access= false; |
| 1094 |
|
} |
| 1095 |
|
|
| 1096 |
|
return $access; |
| 1097 |
|
} |
programs/utilit/right.class.php 2 locations
|
@@ 740-742 (lines=3) @@
|
| 737 |
|
{ |
| 738 |
|
$access= true; |
| 739 |
|
|
| 740 |
|
if( $this->date_begin_valid != '0000-00-00' && (bab_mktime($this->date_begin_valid." 00:00:00") > mktime())){ |
| 741 |
|
$access= false; |
| 742 |
|
} |
| 743 |
|
|
| 744 |
|
if( $this->date_end_valid != '0000-00-00' && (bab_mktime($this->date_end_valid." 23:59:59") < mktime())){ |
| 745 |
|
$access= false; |
|
@@ 744-746 (lines=3) @@
|
| 741 |
|
$access= false; |
| 742 |
|
} |
| 743 |
|
|
| 744 |
|
if( $this->date_end_valid != '0000-00-00' && (bab_mktime($this->date_end_valid." 23:59:59") < mktime())){ |
| 745 |
|
$access= false; |
| 746 |
|
} |
| 747 |
|
|
| 748 |
|
return $access; |
| 749 |
|
} |