MantisBT: master cc9f048f

Author Committer Branch Timestamp Parent
Julian Fitzell master 2003-02-20 02:30 master 76e27379
Changeset

Just a quick change to make the behaviour of print_success_and_redirect() cleaner by not overloading it.

M bug_assign.php
M bug_close.php
M bug_delete.php
M bug_monitor.php
M bug_reopen.php
M bug_resolve.php
M bug_update.php
M bugnote_add.php
M bugnote_delete.php
M bugnote_set_view_state.php
M bugnote_update.php

  • update to use print_successful_redirect() or
    print_successful_redirect_to_bug() as appropriate

M core/print_api.php
(print_success_and_redirect): rename to print_successful_redirect() and
remove the overloaded functionality of the function
(print_successful_redirect_to_bug): new function to take on the overloaded
functionality of the above function by looking up a bug view url and
calling the function above with that URL

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1970 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9

mod - bug_assign.php Diff File
mod - bugnote_update.php Diff File
mod - bugnote_delete.php Diff File
mod - bug_resolve.php Diff File
mod - bug_delete.php Diff File
mod - bugnote_add.php Diff File
mod - core/print_api.php Diff File
mod - bug_monitor.php Diff File
mod - bug_update.php Diff File
mod - bugnote_set_view_state.php Diff File
mod - bug_close.php Diff File
mod - bug_reopen.php Diff File