Commit 2113b85a authored by David Metzler's avatar David Metzler
Browse files

Removed unnecessary calls to the cache clear.

parent 10fa7633
......@@ -204,7 +204,6 @@ function forena_settings_submit($form, &$form_state) {
}
}
}
forena_sync_reports();
}
function forena_settings_sync_submit($form, &$form_state) {
......
......@@ -6,12 +6,6 @@
function forena_drush_command() {
$items = array();
$items['forena-clear-cache'] = array(
'description' => 'Forena clear report cache',
'examples' => array('drush frxcc'),
'aliases' => array('frxcc')
);
$items['forena-deliver-reports'] = array(
'description' => 'Forena Revert Delivered module provided forena reports',
'examples' => array('drush frxrevert'),
......@@ -20,14 +14,6 @@ function forena_drush_command() {
return $items;
}
/**
* Execute a clear forena's cache from drush
*/
function drush_forena_clear_cache() {
require_once 'forena.common.inc';
require_once 'forena.admin.inc';
forena_sync_reports(FALSE);
}
/**
* Execute copy of the reports from drush.
......
......@@ -46,9 +46,7 @@ function forena_schema() {
function forena_update_7401() {
require_once 'forena.common.inc';
require_once 'forena.admin.inc';
forena_sync_reports(FALSE);
// Clear cache mechanism no longer needed
}
function forena_update_7402() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment