| @@ 128-137 (lines=10) @@ | ||
| 125 | * @param ChronosJobEntity|JobEntityInterface $oJobEntity | |
| 126 | * @return bool | |
| 127 | */ | |
| 128 | public function removeJob(JobEntityInterface $oJobEntity) | |
| 129 |     { | |
| 130 | if ($this->oApiClient->removeJob($oJobEntity->getKey())) | |
| 131 |         { | |
| 132 | $this->bCacheHasToDelete = true; | |
| 133 | return true; | |
| 134 | } | |
| 135 | ||
| 136 | return false; | |
| 137 | } | |
| 138 | ||
| 139 | /** | |
| 140 | * @param JobEntityInterface $oJobEntity | |
| @@ 117-125 (lines=9) @@ | ||
| 114 | * @param JobEntityInterface $oJobEntity | |
| 115 | * @return bool | |
| 116 | */ | |
| 117 | public function removeJob(JobEntityInterface $oJobEntity) | |
| 118 |     { | |
| 119 | if ($this->oApiClient->removeJob($oJobEntity->getKey())) | |
| 120 |         { | |
| 121 | $this->bCacheHasToDelete = true; | |
| 122 | return true; | |
| 123 | } | |
| 124 | return false; | |
| 125 | } | |
| 126 | ||
| 127 | /** | |
| 128 | * @return array|mixed | |