fix Scrutinizer errors

This commit is contained in:
Ralf Becker 2016-08-15 11:56:32 +02:00
parent 5c42f4254e
commit 43432ca501

View File

@ -51,6 +51,13 @@ class admin_customfields
var $types2 = array(); var $types2 = array();
var $content_types,$fields; var $content_types,$fields;
/**
* Does App uses content-types
*
* @var boolean
*/
protected $manage_content_types = false;
/** /**
* Currently selected content type (if used by app) * Currently selected content type (if used by app)
* @var string * @var string
@ -457,9 +464,9 @@ class admin_customfields
* Allow extending apps a change to interfere and add content to support * Allow extending apps a change to interfere and add content to support
* their custom template. This is called right before etemplate->exec(). * their custom template. This is called right before etemplate->exec().
*/ */
protected function app_index(&$content, &$sel_options, &$readonlys) protected function app_index(&$content, &$sel_options, &$readonlys, &$preserve)
{ {
unset($content, $sel_options, $readonlys); // not used, as this is a stub unset($content, $sel_options, $readonlys, $preserve); // not used, as this is a stub
// This is just a stub. // This is just a stub.
} }