Removed var_dumps and error_logs where not needed or placed a comment where they are needed

This commit is contained in:
Paolo
2018-05-03 12:31:56 +02:00
parent c4baa454aa
commit 4e90523ccc
3 changed files with 2 additions and 4 deletions
-1
View File
@@ -391,7 +391,6 @@ class DBTools extends FHC_Controller
// **** Permission ****
// ToDo: Check Persmissions in the bottom of this file
case 'permissions':
//var_dump($this->config->item('fhc_acl'));
echo ' Permissions!';
//$this->config->load('roles');
foreach ($this->config->item('fhc_acl') as $b)
+1 -2
View File
@@ -62,7 +62,6 @@ function generateToken($length = 64)
}
/**
* var_dump_to_error_log()
* Gets the output of the var_dump function and print it out
* via the error log. It also removes the end line characters
*/
@@ -72,7 +71,7 @@ function var_dump_to_error_log($parameter)
var_dump($parameter); // KEEP IT!!!
$ob_get_contents = ob_get_contents();
ob_end_clean();
error_log(str_replace("\n", '', $ob_get_contents));
error_log(str_replace("\n", '', $ob_get_contents)); // KEEP IT!!!
}
/**
+1 -1
View File
@@ -11,7 +11,7 @@ class mimetype_widget extends Widget
$data['mimetype'] = '';
$this->load->model('system/Vorlage_model');
$res = $this->Vorlage_model->getMimeTypes();
//var_dump($res);
foreach ($res->retval as $obj)
{
$item = array('name' => $obj->mimetype, 'value' => $obj->mimetype);