Author: chabotc
Date: Fri Jun 6 07:34:58 2008
New Revision: 663963
URL: http://svn.apache.org/viewvc?rev=663963&view=rev
Log:
SHINDIG-361 GadgetFeatureRegistry->registerFeatures: coreDeps - array not used
Modified:
incubator/shindig/trunk/php/src/gadgets/GadgetFeatureRegistry.php
Modified: incubator/shindig/trunk/php/src/gadgets/GadgetFeatureRegistry.php
URL:
http://svn.apache.org/viewvc/incubator/shindig/trunk/php/src/gadgets/GadgetFeatureRegistry.php?rev=663963&r1=663962&r2=663963&view=diff
==============================================================================
--- incubator/shindig/trunk/php/src/gadgets/GadgetFeatureRegistry.php (original)
+++ incubator/shindig/trunk/php/src/gadgets/GadgetFeatureRegistry.php Fri Jun
6 07:34:58 2008
@@ -33,13 +33,11 @@
if (empty($featurePath) || $featurePath == null) {
return;
}
- $coreDeps = array();
$loader = new JsFeatureLoader();
$jsFeatures = $loader->loadFeatures($featurePath, $this);
if (! $this->coreDone) {
foreach ($jsFeatures as $entry) {
if (strtolower(substr($entry->name, 0,
strlen('core'))) == 'core') {
- $coreDeps[] = $entry->name;
$this->core[$entry->name] =
$entry->name;
}
}