Update 1.9.5.sql

+ on #__menu change link '...&view=myattending' to '...&view=myattendances'
+ on #__menu increment catid on link '...&view=category&id=%'
Update script.php

+ new function deleteObsoleteFiles() to delete all obsolete files and folders, called in preflight()
+ new function updateJemMenuItems195() to increment all catids in menu item params as needed, called in postflight()
+ new function updateJemModules195() to increment all catids in module params as needed, called in postflight()
Update event.php

+ fixed postSaveHook(): $isNew and $id was wrong for new events -> no eMail sent; get data from model instead
Update mailer.php

+ changed "$this->params->get('receivers')" to "$this->_receivers" to allow admin mails to system mail receivers only (empty "receivers" field)
+ completely reworked onEventEdited() and onVenueEdited() to allow new events/venues
  (2nd param "edited" is "isNew" by sender (inverse), "$edited" was used multiple times with different meaning - now named $isNew or $modified)
+ _mailer() prepared to use "BCC" instead of "To" - requires new $data->useBCC flag to implement (incl. backend setting)
Update jem.php

+ renamed 'el*' to 'jem*' (to allow EL and JEM working independent at same site)
Merge pull request #528 from Hoffi1/master

Update of Event/Mailer/JEM/Script.php + update sql
Update jem.php

removed echo
removed echo
ACL view access

Support Joomla access levels instead of single gid (site, modules,
plugins)
fix archive button creation

Don't create output if no url etc. has created (archivebutton and
editbutton).
Merge branch 'feature/read-access-j25' into develop
try to merge Hoffi1/develop into jemproject/development
Merge pull request #534 from Hoffi1/develop

More things for 1.9.5: ACL view access + archive button fix
Merge pull request #533 from jemproject/development

Nice fixes/enhancements from Hoffi for JEM 1.9.5
  - delete obsolete files on update (issue #275)
  - alter catids and myattending url in menu table and catids in module table when crossing 1.9.4 -> 1.9.5 border
  - correct mailer plugin (issue #522)
  - change 'el*' to 'jem*' in search plugin to allow searching in EL and JEM at same time
  - ACL view access - support Joomla access levels instead of single gid
  - fix archive button creation (in case old events are not configured to move into archive)