Removed obsolete code. Fixed phpStorm warnings
Merge branch 'development' into dev/j3/common

Conflicts:
	admin/controllers/list.php
	admin/controllers/template.php