original_string: public static function remove($threads = [])
      {
          try {
              if (!empty($threads)) {
                  return Podium::getInstance()->db->createCommand()->delete(
                          Subscription::tableName(), ['id' => $threads, 'user_id' => User::loggedId()]
                      )->execute();
              }
          } catch (Exception $e) {
              Log::error($e->getMessage(), null, __METHOD__);
          }
          return false;
      }
code: public static function remove($threads = [])
      {
          try {
              if (!empty($threads)) {
                  return Podium::getInstance()->db->createCommand()->delete(
                          Subscription::tableName(), ['id' => $threads, 'user_id' => User::loggedId()]
                      )->execute();
              }
          } catch (Exception $e) {
              Log::error($e->getMessage(), null, __METHOD__);
          }
          return false;
      }
code_tokens: public static function remove ( $ threads = [ ] ) { try { if ( ! empty ( $ threads ) ) { return Podium :: getInstance ( ) -> db -> createCommand ( ) -> delete ( Subscription :: tableName ( ) , [ 'id' => $ threads , 'user_id' => User :: loggedId ( ) ] ) -> execute ( ) ; } } catch ( Exception $ e ) { Log :: error ( $ e -> getMessage ( ) , null , __METHOD__ ) ; } return false ; }
docstring: Removes threads subscriptions of given IDs.
  @param array $threads thread IDs
  @return bool
  @since 0.2
docstring_tokens: Removes threads subscriptions of given IDs .