Bug 14077: Remove unused AUTH_UPDATE_FAILED from moremember.tt
'AUTH_UPDATE_FAILED' in moremember.tt is never set and should be removed (see comment #6 on Bug 13910). To verify: git grep 'AUTH_UPDATE_FAILED' Result: Only one occurence (in moremember.tt) Test plan: - Apply patch (on top of Bug 13910) - Verify that the part with AUTH_UPDATE_FAILED is removed from moremember.tt - Go to a patron's detail page and verify that nothing is broken (Home > Patrons > Patrons details for...) Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> This has been introduced by commit1a91801b06Date: Sat Dec 1 20:56:27 2007 -0600 Add Staff member type. Add permissions checks for bug# 1269 and related permissions on memberentry and mods. But was already not used... Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> (cherry picked from commitc7a4b7e51b) Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
parent
917140b9f2
commit
3a8a4c7ea9
|
|
@ -139,11 +139,6 @@ function validate1(date) {
|
|||
|
||||
[% IF ( error ) %]
|
||||
<div class="dialog alert">
|
||||
[% IF ( AUTH_UPDATE_FAILED ) %]
|
||||
<h3>Userid / Password update failed</h3>
|
||||
<strong>Insufficient privileges.</strong>
|
||||
<p>Other fields updated.</p>
|
||||
[% END %]
|
||||
[% IF ( error == 'CANT_DELETE_STAFF' ) %]
|
||||
<h3>Unable to delete staff user</h3>
|
||||
<p>Insufficient privileges.</p>
|
||||
|
|
|
|||
Loading…
Reference in New Issue