According to the RC3 announcement:

And files[] is no longer required in .info files for each file! Only if the file in question registers a class or interface. $cruft--;

So I cleaned the info files a bit, I'm aware I don't know anyything baout ctools so this can be wrong.
This NEEDS to be rechecked cause I dont want to brake ctools:)

I also ADDED some files with classes in it. I putted a ; before them.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

merlinofchaos’s picture

Any class that is part of a plugin (easily spotted by being a file with the 'class.php' extension) does NOT need to be registered.

Also, scripts in the info file will always be added, right? If that's the case, I believe we do not want to add any of these scripts.

aspilicious’s picture

1) OK :) nice to know
2) Yes they will always be included, I'll delete them

aspilicious’s picture

Second try.
I have some problems getting used to git so hopefully this went fine.

aspilicious’s picture

Something went wrong...
Another try...

EDIT
----
This one is ok I think
What should we do with test files?

EXTRA INFO
------------
Dreditor: 10 files changed, 4 insertions, 136 deletions.

aspilicious’s picture

I also think this patch will solve the error I have in my logs:

Invalid plugin module/type combination requested: module stylizer and type style_bases

merlinofchaos’s picture

No, that problem happens because stylizer.theme.inc needs to be in stylizer.module not ctools.module or at least have an if() to make it only run if stylizer.module is enabled.

aspilicious’s picture

Test files also contain a class so they have to be included.

merlinofchaos’s picture

Status: Needs review » Fixed

Looks ok now, I think.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.