@@ 894-901 (lines=8) @@ | ||
891 | return false; |
|
892 | } |
|
893 | ||
894 | public function canEdit($member = null) |
|
895 | { |
|
896 | if (in_array($this->Status, array('Pending', 'Active'))) { |
|
897 | return $this->canView($member); |
|
898 | } else { |
|
899 | return false; |
|
900 | } |
|
901 | } |
|
902 | ||
903 | public function canDelete($member = null) |
|
904 | { |
|
@@ 903-910 (lines=8) @@ | ||
900 | } |
|
901 | } |
|
902 | ||
903 | public function canDelete($member = null) |
|
904 | { |
|
905 | if (in_array($this->Status, array('Pending'))) { |
|
906 | return $this->canView($member); |
|
907 | } else { |
|
908 | return false; |
|
909 | } |
|
910 | } |
|
911 | } |
|
912 |