public function removeJobsFor($postId)
 {
     ArgCheck::isInt($postId);
     $where = ['post_id' => $postId];
     if ($this->database->delete(self::TABLE_NAME, $where) === false) {
         throw new \RuntimeException('Unable to delete job from database (Post Subscription Plugin)');
     }
 }
 public function delete($id)
 {
     ArgCheck::isInt($id);
     $where = ['id' => $id];
     if ($this->database->delete(self::TABLE_NAME, $where) === false) {
         throw new \RuntimeException('Unable to delete subscriber from database (Post Subscription Plugin)');
     }
 }