original_string: public static function unprefixTable($table)
      {
          static $prefixTable = null;
          if (is_null($prefixTable)) {
              $prefixTable = Config::getInstance()->database['tables_prefix'];
          }
          if (empty($prefixTable)
              || strpos($table, $prefixTable) !== 0
          ) {
              return $table;
          }
          $count = 1;
          return str_replace($prefixTable, '', $table, $count);
      }
code: public static function unprefixTable($table)
      {
          static $prefixTable = null;
          if (is_null($prefixTable)) {
              $prefixTable = Config::getInstance()->database['tables_prefix'];
          }
          if (empty($prefixTable)
              || strpos($table, $prefixTable) !== 0
          ) {
              return $table;
          }
          $count = 1;
          return str_replace($prefixTable, '', $table, $count);
      }
code_tokens: public static function unprefixTable ( $ table ) { static $ prefixTable = null ; if ( is_null ( $ prefixTable ) ) { $ prefixTable = Config :: getInstance ( ) -> database [ 'tables_prefix' ] ; } if ( empty ( $ prefixTable ) || strpos ( $ table , $ prefixTable ) !== 0 ) { return $ table ; } $ count = 1 ; return str_replace ( $ prefixTable , '' , $ table , $ count ) ; }
docstring: Removes the prefix from a table name and returns the result.
  
  The table prefix is determined by the `[database] tables_prefix` INI config
  option.
  
  @param string $table The prefixed table name, eg "piwik-production_log_visit".
  @return string The unprefixed table name, eg "log_visit".
  @api
docstring_tokens: Removes the prefix from a table name and returns the result .