[geeklog-hg] [Geeklog-Core/geeklog] 2cd231: Updated CMT_deleteComment to delete any comment re...

Tom noreply at github.com
Wed May 18 17:52:57 EDT 2022


  Branch: refs/heads/master
  Home:   https://github.com/Geeklog-Core/geeklog
  Commit: 2cd23178a249082ed25e2af1aeffaf198bb6093c
      https://github.com/Geeklog-Core/geeklog/commit/2cd23178a249082ed25e2af1aeffaf198bb6093c
  Author: eSilverStrike <eSilverStrike at users.noreply.github.com>
  Date:   2022-05-18 (Wed, 18 May 2022)

  Changed paths:
    M plugins/calendar/functions.inc
    M plugins/links/functions.inc
    M plugins/polls/functions.inc
    M plugins/staticpages/functions.inc
    M plugins/staticpages/services.inc.php
    M public_html/admin/plugins/polls/index.php
    M system/lib-article.php
    M system/lib-comment.php
    M system/lib-likes.php
    M system/lib-plugins.php
    M system/lib-user.php

  Log Message:
  -----------
  Updated CMT_deleteComment to delete any comment related record. Can now handle deleting multiple comments when an item or type is deleted.

For bug #1123

CMT_deleteComment now required to be used when deleting comments. CMT_deleteComment is now used by articles,  polls, and staticpages.
Plugin Uninstall now uses:
- CMT_deleteComment and removes all likes from database for type.
- Entire Geeklog cache also gets cleared.

For user delete added likes and comments to PLG_deleteUser so all records get handled correctly including submissions

Updated Links and Events to delete any submissions if user deleted.




More information about the geeklog-cvs mailing list