[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [10774] Removed check on status not done
From: |
Torstein |
Subject: |
[Fmsystem-commits] [10774] Removed check on status not done |
Date: |
Fri, 08 Feb 2013 15:16:30 +0000 |
Revision: 10774
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10774
Author: vator
Date: 2013-02-08 15:16:29 +0000 (Fri, 08 Feb 2013)
Log Message:
-----------
Removed check on status not done
Modified Paths:
--------------
trunk/controller/inc/model/class.check_list.inc.php
Modified: trunk/controller/inc/model/class.check_list.inc.php
===================================================================
--- trunk/controller/inc/model/class.check_list.inc.php 2013-02-08 15:12:36 UTC
(rev 10773)
+++ trunk/controller/inc/model/class.check_list.inc.php 2013-02-08 15:16:29 UTC
(rev 10774)
@@ -205,19 +205,12 @@
}
// Validate STATUS
- if( $this->status != 0 && $this->status != 1 &&
$this->status != 3)
+ if( ($this->status !=
controller_check_list::STATUS_NOT_DONE) && ($this->status !=
controller_check_list::STATUS_DONE) && ($this->status !=
controller_check_list::STATUS_CANCELED))
{
$status = false;
$this->error_msg_array['status'] = "error_msg_2";
}
-
- // Validate STATUS ON PLANNED DATE
- if( $this->status == 0 && ( $this->planned_date == ''
or $this->planned_date == 0) )
- {
- $status = false;
- $this->error_msg_array['status'] = "error_msg_7";
- }
-
+
// Validate COMPLETED DATE when STATUS:DONE
if( ($this->status ==
controller_check_list::STATUS_DONE) && empty($this->completed_date) )
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [10774] Removed check on status not done,
Torstein <=