<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
OOPS for disabled modules should be:<br>
<br>
SELECT name FROM system WHERE type='module' AND status='0' AND
filename NOT LIKE 'module/%';
<pre class="moz-signature" cols="72">Jamie Holly
<a class="moz-txt-link-freetext" href="http://www.intoxination.net">http://www.intoxination.net</a>
<a class="moz-txt-link-freetext" href="http://www.hollyit.net">http://www.hollyit.net</a></pre>
<br>
On 1/9/2011 2:55 PM, Jamie Holly wrote:
<blockquote cite="mid:4D2A12CD.9050704@earthlink.net" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
I would add one little thing to that query:<br>
<br>
SELECT name FROM system WHERE type='module' AND status='1' AND
filename NOT LIKE 'module/%';<br>
<br>
That way you don't get Drupal's core modules in the list.<br>
<br>
<pre class="moz-signature" cols="72">Jamie Holly
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.intoxination.net">http://www.intoxination.net</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.hollyit.net">http://www.hollyit.net</a></pre>
<br>
On 1/9/2011 2:26 PM, Cameron Eagans wrote:
<blockquote
cite="mid:AANLkTimeXv8YNE=prLyqUmG_s7gCSa9QbpuKgnu-DO=u@mail.gmail.com"
type="cite">I don't think you'd even need a module to do this.
You can get a list of currently used modules by doing:
<div><br>
</div>
<div>SELECT name FROM system WHERE type='module' AND status='1';</div>
<div><br>
</div>
<div>You could likely write a quick script to compare the list
returned by that SQL statement to your modules list.</div>
<div><br clear="all">
Thanks,<br>
Cameron<br>
<br>
<br>
<br>
<div class="gmail_quote">On Sun, Jan 9, 2011 at 12:04, James
Benstead <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:james.benstead@gmail.com">james.benstead@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div>Originally posted to <a moz-do-not-send="true"
href="http://drupal.org/node/1017416" target="_blank">http://drupal.org/node/1017416</a>:</div>
<div><br>
</div>
<div>
<blockquote class="gmail_quote" style="margin: 0px 0px
0px 0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;"> I have a list of 60+ modules that
I download, via drush, to each new Drupal site that I
build. I then enable whatever modules are needed for
the specific site I'm working on as I carry out the
build.</blockquote>
<blockquote class="gmail_quote" style="margin: 0px 0px
0px 0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;"> <br>
</blockquote>
<blockquote class="gmail_quote" style="margin: 0px 0px
0px 0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;"> This means that once the site is
launched, there may be modules that are not being
called by Drupal core but that are still enabled
and/or installed.</blockquote>
<blockquote class="gmail_quote" style="margin: 0px 0px
0px 0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;"> <br>
</blockquote>
<blockquote class="gmail_quote" style="margin: 0px 0px
0px 0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;"> Is there an automated way - a
specific module, for example - that will tell me which
of the modules that are enabled on a site are being
called by Drupal core?</blockquote>
<blockquote class="gmail_quote" style="margin: 0px 0px
0px 0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;"> <br>
</blockquote>
<blockquote class="gmail_quote" style="margin: 0px 0px
0px 0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;"> Secondly, is there any
performance implication for having lots of modules
installed on a site if they are not enabled?</blockquote>
<div><br>
</div>
<div>The answer to the second question seems to be "no".
And It doesn't seem that such a module does exist -
would it be technically possible to write this module
for D6? </div>
</div>
<br clear="all">
--Jim<br>
<font color="#888888">--<br>
My IM and Skype details are at <a
moz-do-not-send="true"
href="http://state68.com/contact" target="_blank">http://state68.com/contact</a><br>
</font></blockquote>
</div>
<br>
</div>
</blockquote>
</blockquote>
</body>
</html>