avelsieve: Fixes for php7

Michael Fritscher <[email protected]> Sun, 22 Apr 2018 17:08:13 +0200
Newsgroups gmane.mail.squirrelmail.plugins
Message-ID <[email protected]>
Good day,

during making packages for php7 (https://mifritscher.de/squirrelmail/) I
stumbled over 2 problems:

  * duplicate default in switch. Killed by sed -i '584d'
include/sieve_buildrule.inc.php.

  * deprecated constructors:

mod_fcgid: stderr: PHP Deprecated:  Methods with the same name as their
class will not be constructors in a future version of PHP;
avelsieve_action has a deprecated constructor in
/usr/share/squirrelmail/plugins/avelsieve/include/avelsieve_action.class.php
on line 30
mod_fcgid: stderr: PHP Deprecated:  Methods with the same name as their
class will not be constructors in a future version of PHP; DO_Sieve has
a deprecated constructor in
/usr/share/squirrelmail/plugins/avelsieve/include/DO_Sieve.class.php on
line 20

Best regards,
Michael Fritscher

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [email protected]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins