Jump to content
DevFuse Forums
  • New log delete function


    Michael
    • Fixed IP.Board Version: ipb42

    The new log delete function will need our delete rebuilds in place.

    Manual Patch:

    Open applications/collections/sources/Item/Item.php

    Find:

    	/**
    	 * Delete Record
    	 *
    	 * @return	void
    	 */

    Add ABOVE:

        /**
         * Log for deletion later
         *
         * \IPS\Member|NULL 	$member	The member or NULL for currently logged in
         * @return	void
         */
        public function logDelete( $member = NULL )
        {
            parent::logDelete( $member );
    
            if ( $topic = $this->topic() and \IPS\Settings::i()->css_topic_delete )
            {
                $topic->logDelete( $member );
            }
    
            /* Rebuild members item count */
            $this->rebuildItemCount();
        }

    Save.


    User Feedback

    Recommended Comments



    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


  • Status Definitions

    Pending = We are still working on this report.

    Fixed = The issue has been fixed and the resolution will be available in the next version.

    Closed = Feedback or opinion better posted on our forum for discussion. Also for reports we cannot reproduce or need more information. In this case just add a comment and we will review it again.

     

×
×
  • Create New...