Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-11118

refactor ucp_zebra into user functions

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • 3.0.15-RC1, 3.1.12-RC1
    • 3.0.11
    • None
    • None

      Right now adding and removing foes is all handled in ucp_zebra::main, and it gets its parameters directly from $_POST and $_GET. If some of this logic were extracted into two functions (add_foes($user_id, $foes) remove_foes($user_id, $foes)) it would make manipulating the foes lists from outside of phpBB much easier.

            CHItA CHItA
            leedo leedo [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: