2
0
Fork 0

implement unloadModule()

Dieser Commit ist enthalten in:
belliash 2012-01-15 23:37:51 +01:00
Ursprung f378a66ac5
Commit 5377983183
1 geänderte Dateien mit 14 neuen und 0 gelöschten Zeilen

Datei anzeigen

@ -412,3 +412,17 @@ function toUpper() {
function trim() {
echo ${1}
}
#-------------------------------------------------------------------------------
# Silently unloads any previously loaded module
#-------------------------------------------------------------------------------
function unloadModule() {
unset EZMOD_AUTHOR
unset EZMOD_COMPATIBILITY
unset EZMOD_DESCRIPTION
unset EZMOD_VERSION
unset ezsync_precommit
unset ezsync_presync
unset ezsync_postcommit
unset ezsync_postsync
}