mirror of
https://github.com/standardebooks/web.git
synced 2025-07-06 06:40:33 -04:00
Remove Library::RebuildCache
This commit is contained in:
parent
f4a19a2d12
commit
ec26e7f9af
2 changed files with 2 additions and 144 deletions
|
@ -4,10 +4,10 @@ usage(){
|
|||
echo -n
|
||||
fmt <<EOF
|
||||
DESCRIPTION
|
||||
Rebuild one of three caches stored in APCu for the standardebooks.org FPM pool.
|
||||
Rebuild one of the caches stored in APCu for the standardebooks.org FPM pool.
|
||||
|
||||
USAGE
|
||||
rebuild-cache {library,bulk-downloads,feeds}
|
||||
rebuild-cache {bulk-downloads,feeds}
|
||||
EOF
|
||||
exit 1
|
||||
}
|
||||
|
@ -27,10 +27,6 @@ fi
|
|||
|
||||
type="$1"
|
||||
|
||||
if [ "${type}" = "library" ]; then
|
||||
echo "<?php require_once('Core.php'); Library::RebuildCache(); ?>" > /tmp/rebuild-cache.php
|
||||
fi
|
||||
|
||||
if [ "${type}" = "bulk-downloads" ]; then
|
||||
echo "<?php require_once('Core.php'); Library::RebuildBulkDownloadsCache(); ?>" > /tmp/rebuild-cache.php
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue