Closed (fixed)
Project:
Twitter
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Nov 2011 at 12:37 UTC
Updated:
24 Jan 2012 at 15:46 UTC
As the classes in twitter.lib.php are included automatically by Drupal core (because the file is declared in twitter.info) we don't need to do an explicit include anymore.
This patch removes that includes.
| Comment | File | Size | Author |
|---|---|---|---|
| twitter_remove_includes.patch | 3.15 KB | jose reyero |
Comments
Comment #1
jose reyero commentedComment #2
juampynr commentedI did that at http://drupalcode.org/project/twitter.git/commitdiff/27e1088c45a46945862..., but it was because I added the library at the top of twitter.module. I did not realize this when I ported the patch from Drupal 6 to Drupal 7.
I have removed the module_load_include() call at http://drupalcode.org/project/twitter.git/commitdiff/32abb809d61917d0aad....
Many thanks.
Comment #4
johnalbinThese changes cause a fatal PHP error. See #1360936: Fatal error: Class 'TwitterConf' not found