diff --git a/lib/linguist/blob_helper.rb b/lib/linguist/blob_helper.rb index 84a9bdaa..cb5cddfc 100644 --- a/lib/linguist/blob_helper.rb +++ b/lib/linguist/blob_helper.rb @@ -136,13 +136,6 @@ module Linguist ['.png', '.jpg', '.jpeg', '.gif'].include?(extname) end - # Public: Is the blob a possible drupal php file? - # - # Return true or false - def drupal_extname? - ['.module', '.install', '.test', '.inc'].include?(extname) - end - # Public: Is the blob likely to have a shebang? # # Return true or false @@ -430,9 +423,6 @@ module Linguist # See if there is a Language for the extension pathname.language || - # Look for idioms in first line - first_line_language || - # Try to detect Language from shebang line shebang_language end @@ -458,23 +448,6 @@ module Linguist end end - # Internal: Guess language from the first line. - # - # Look for leading "