http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10104

Mason James <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #17775|0                           |1
        is obsolete|                            |

--- Comment #8 from Mason James <[email protected]> ---
Created attachment 17837
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=17837&action=edit
Bug 10104 - make koha-disable more robust

koha-disable now:

- checks for the existence of the instance before any actions on it.
- checks if the instance is already disabled before touching anything (warns
otherwise)
- only reloads apache if needed
- handles more than one instance name.
- changed the docs to acknowledge the previous item.

To test:
- Apply the patch, build your package
- Run koha-disable on
  - Non existent instance (try names that are prefix and suffix of a valid one
too please)
  - Already disabled instance name.
  - Enabled instance name.

It should work as expected and warn the user on the expected wrong cases.

Regards
To+

Sponsored-by: Universidad Nacional de Córdoba
Signed-off-by: Chris Cormack <[email protected]>
Signed-off-by: Mason James <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to