feat misc.sh
: remove updateCacheReminder()
This commit is contained in:
parent
fcaa4913f7
commit
fe6a8be103
1 changed files with 0 additions and 14 deletions
|
@ -25,20 +25,6 @@ sendTelemetry() {
|
|||
}
|
||||
|
||||
|
||||
# === CACHEREMINDER ===
|
||||
updateCacheReminder() {
|
||||
cd "${BLUEPRINT__FOLDER}" || return
|
||||
# Overwrite previous adminCacheReminderHider with the default one.
|
||||
oldClassName=$(cat .blueprint/extensions/blueprint/private/db/randomclassname)
|
||||
newClassName=$RANDOM$RANDOM$RANDOM$RANDOM
|
||||
mv .blueprint/extensions/blueprint/assets/misc/cacheOverlay-"${oldClassName}".css .blueprint/extensions/blueprint/assets/misc/cacheOverlay-"${newClassName}".css
|
||||
sed -i "s~cacheOverlay-$oldClassName~cacheOverlay-$newClassName~g" .blueprint/extensions/blueprint/assets/blueprint.style.css
|
||||
sed -i "s~I0TWHOPKAB-$oldClassName~I0TWHOPKAB-$newClassName~g" resources/views/blueprint/admin/admin.blade.php
|
||||
sed -i "s~I0TWHOPKAB-$oldClassName~I0TWHOPKAB-$newClassName~g" .blueprint/extensions/blueprint/assets/misc/cacheOverlay-"${newClassName}".css
|
||||
echo "$newClassName" > .blueprint/extensions/blueprint/private/db/randomclassname
|
||||
}
|
||||
|
||||
|
||||
# === SHIFTARGS ===
|
||||
shiftArgs() {
|
||||
shift 1
|
||||
|
|
Loading…
Reference in a new issue