Révision a192dc0b
Ajouté par Assos Assos il y a environ 8 ans
drupal7/sites/all/modules/feeds/plugins/FeedsPlugin.inc | ||
---|---|---|
53 | 53 |
throw new InvalidArgumentException(t('Empty configuration identifier.')); |
54 | 54 |
} |
55 | 55 |
|
56 |
static $instances = array();
|
|
56 |
$instances = &drupal_static(__METHOD__, array());
|
|
57 | 57 |
|
58 | 58 |
if (!isset($instances[$class][$id])) { |
59 | 59 |
$instance = new $class($id); |
Formats disponibles : Unified diff
Weekly update of contrib modules