public function deleteQueuedTask($tasks = []) {
		if (empty($tasks) || !is_array($tasks)) {
			return false;
		}

		if (!CakeSession::check($this->_sessionKey)) {
			return false;
		}

		$existsTasks = CakeSession::read($this->_sessionKey);
		if (empty($existsTasks)) {
			return false;
		}
		$resultTasks = array_values(array_diff((array)$existsTasks, $tasks));

		return CakeSession::write($this->_sessionKey, $resultTasks);
	}