disabling email notification

Help
aapold
2006-10-25
2012-10-11
  • aapold
    aapold
    2006-10-25

    My phpwiki site has been shut down by my ISP because of users with defunct email addresses continuing to update pages and it sending out emails to incorrect addresses, which they (my ISP) deems to be "abuse". I need a way to disable the email capabilities of phpwiki, is there a simple way to do this?

     
    • Reini Urban
      Reini Urban
      2006-10-25

      yes,
      go to the source of the mail notification function in lib/WikiDB.php
      and disable it.

      Easiest would be to disable getPageChangeEmails()

      function getPageChangeEmails($notify) {
      return array();
      $emails = array(); $userids = array();
      ...
      }