https://bugzilla.wikimedia.org/show_bug.cgi?id=28719

             Bug #: 28719
           Summary: Do not call mLinkHolders __destruct explicitly
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General/Unknown
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: vita...@yourcmc.ru
    Classification: Unclassified


Created attachment 8469
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=8469
simple patch

Calling $this->mLinkHolders->__destruct(); explicitly is incorrect because it
sometimes leads to strange errors. I can't tell exactly which errors... :)
because our wiki distribution (wiki.4intra.net) is patched manually since 1.13
:)
I think you should use unset( $this->mLinkHolders ) and let PHP run the
destructor.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to