Skip to content
Browse files

MDL-36938 cache: test performance script checks requirements now

  • Loading branch information...
1 parent 0395306 commit f0ce225c128c186d9a6a941cc251f911b57f2afc Sam Hemelryk committed Nov 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 cache/testperformance.php
View
2 cache/testperformance.php
@@ -61,7 +61,7 @@
$class = 'cachestore_'.$plugin;
$plugin = get_string('pluginname', 'cachestore_'.$plugin);
- if (!class_exists($class) || !method_exists($class, 'initialise_test_instance')) {
+ if (!class_exists($class) || !method_exists($class, 'initialise_test_instance') || !$class::are_requirements_met()) {
$applicationtable->data[] = array($plugin, $strinvalidplugin, '-', '-', '-', '-');
$sessiontable->data[] = array($plugin, $strinvalidplugin, '-', '-', '-', '-');
$requesttable->data[] = array($plugin, $strinvalidplugin, '-', '-', '-', '-');

0 comments on commit f0ce225

Please sign in to comment.
Something went wrong with that request. Please try again.