Skip to content
Snippets Groups Projects
Commit 860a9d7b authored by Jared Hancock's avatar Jared Hancock
Browse files

Un-customize the cleanup script and documentation

parent 48c3d764
Branches
Tags
No related merge requests found
...@@ -13,79 +13,78 @@ care of: ...@@ -13,79 +13,78 @@ care of:
* Remove codebase files no longer utilized in osTicket 1.7. If you have * Remove codebase files no longer utilized in osTicket 1.7. If you have
console access to your server, a codebase-cleanup.sh script is provided console access to your server, a codebase-cleanup.sh script is provided
for you in the setup/ folder to help you automatically take care of this. for you in the setup/ folder to help you automatically take care of this.
* api/api-sample.zip Otherwise, you may safely remove the following files from your codebase if
* api/do.php they exist:
* api/email.txt
* api/email.xml * Removed in osTicket-1.6-rc5
* api/pipe2.php ostconfig.php
* api/post.php
* api/test.txt * Removed in osTicket-1.6.0
* api/xml.php images/button.jpg
* images/bg.gif images/logo.jpg
* images/button.jpg images/new_ticket_title.jpg
* images/fibres.png images/ticket_status_title.jpg
* images/home.gif include/settings.php
* images/icons
* images/lipsum.png * Removed in osTicket-1.7.0
* images/logo2.jpg images/bg.gif
* images/logo.jpg images/fibres.png
* images/logo.png images/home.gif
* images/logout.gif images/icons
* images/my_tickets.gif images/lipsum.png
* images/new_ticket.gif images/logo2.jpg
* images/new_ticket_icon.jpg images/logout.gif
* images/new_ticket_title.jpg images/my_tickets.gif
* images/poweredby.jpg images/new_ticket.gif
* images/rainbow.png images/new_ticket_icon.jpg
* images/refresh_btn.gif images/poweredby.jpg
* images/ticket_status.gif images/rainbow.png
* images/ticket_status_icon.jpg images/refresh_btn.gif
* images/ticket_status_title.jpg images/ticket_status.gif
* images/verticalbar.jpg images/ticket_status_icon.jpg
* images/view_closed_btn.gif images/verticalbar.jpg
* images/view_open_btn.gif images/view_closed_btn.gif
* include/class.bkmailfetch.php images/view_open_btn.gif
* include/class.msgtpl.php include/class.msgtpl.php
* include/class.sys.php include/class.sys.php
* include/client/index.php include/client/index.php
* include/client/viewticket.inc.php include/client/viewticket.inc.php
* include/ost-config.sameple.php include/ost-config.sameple.php
* include/settings.php include/staff/api.inc.php
* include/staff/api.inc.php include/staff/changepasswd.inc.php
* include/staff/changepasswd.inc.php include/staff/dept.inc.php
* include/staff/dept.inc.php include/staff/depts.inc.php
* include/staff/depts.inc.php include/staff/editticket.inc.php
* include/staff/editticket.inc.php include/staff/mypref.inc.php
* include/staff/mypref.inc.php include/staff/myprofile.inc.php
* include/staff/myprofile.inc.php include/staff/newticket.inc.php
* include/staff/newticket.inc.php include/staff/premade.inc.php
* include/staff/premade.inc.php include/staff/reply.inc.php
* include/staff/reply.inc.php include/staff/smtp.inc.php
* include/staff/smtp.inc.php include/staff/viewticket.inc.php
* include/staff/viewticket.inc.php scp/css/autosuggest_inquisitor.css
* scp/css/autosuggest_inquisitor.css scp/css/datepicker.css
* scp/css/datepicker.css scp/css/main.css
* scp/css/main.css scp/css/style.css
* scp/css/style.css scp/css/tabs.css
* scp/css/tabs.css scp/images/alert.png
* scp/images/alert.png scp/images/bg-login-box.gif
* scp/images/bg-login-box.gif scp/images/icons/email_settings.gif
* scp/images/icons/email_settings.gif scp/images/logo-support.gif
* scp/images/logo-support.gif scp/images/minus.gif
* scp/images/minus.gif scp/images/ostlogo.jpg
* scp/images/ostlogo.jpg scp/images/pagebg.jpg
* scp/images/pagebg.jpg scp/images/plus.gif
* scp/images/plus.gif scp/images/refresh.gif
* scp/images/refresh.gif scp/images/tab.jpg
* scp/images/tab.jpg scp/images/view_closed.gif
* scp/images/view_closed.gif scp/images/view_open.gif
* scp/images/view_open.gif scp/js/ajax.js
* scp/js/ajax.js scp/js/autolock.js
* scp/js/autolock.js scp/js/bsn.AutoSuggest_2.1.3.js
* scp/js/bsn.AutoSuggest_2.1.3.js scp/js/calendar.js
* scp/js/calendar.js scp/js/datepicker.js
* scp/js/datepicker.js scp/js/tabber.js
* scp/js/tabber.js
* Remove the setup/ folder. This contains code you won't need for a live * Remove the setup/ folder. This contains code you won't need for a live
ticketing system. ticketing system.
...@@ -23,49 +23,45 @@ if [[ ! -f "$root/main.inc.php" ]]; then ...@@ -23,49 +23,45 @@ if [[ ! -f "$root/main.inc.php" ]]; then
fi fi
while read file; do while read file; do
if [[ -n "$file" && -f "$root/$file" ]]; then if [[ -n "$file" && "${file[0]}" != "\x23" && -f "$root/$file" ]]; then
echo "Cleaning $file"; echo "Cleaning $file";
rm "$root/$file"; rm "$root/$file";
fi fi
done <<< " done <<< "
api/api-sample.zip # Removed in 1.6-rc5
api/do.php ostconfig.php
api/email.txt
api/email.xml # Removed in 1.6.0
api/pipe2.php
api/post.php
api/test.txt
api/xml.php
images/bg.gif
images/button.jpg images/button.jpg
images/logo.jpg
images/new_ticket_title.jpg
images/ticket_status_title.jpg
include/settings.php
# Removed in 1.7.0
images/bg.gif
images/fibres.png images/fibres.png
images/home.gif images/home.gif
images/icons images/icons
images/lipsum.png images/lipsum.png
images/logo2.jpg images/logo2.jpg
images/logo.jpg
images/logo.png
images/logout.gif images/logout.gif
images/my_tickets.gif images/my_tickets.gif
images/new_ticket.gif images/new_ticket.gif
images/new_ticket_icon.jpg images/new_ticket_icon.jpg
images/new_ticket_title.jpg
images/poweredby.jpg images/poweredby.jpg
images/rainbow.png images/rainbow.png
images/refresh_btn.gif images/refresh_btn.gif
images/ticket_status.gif images/ticket_status.gif
images/ticket_status_icon.jpg images/ticket_status_icon.jpg
images/ticket_status_title.jpg
images/verticalbar.jpg images/verticalbar.jpg
images/view_closed_btn.gif images/view_closed_btn.gif
images/view_open_btn.gif images/view_open_btn.gif
include/class.bkmailfetch.php
include/class.msgtpl.php include/class.msgtpl.php
include/class.sys.php include/class.sys.php
include/client/index.php include/client/index.php
include/client/viewticket.inc.php include/client/viewticket.inc.php
include/ost-config.sameple.php include/ost-config.sameple.php
include/settings.php
include/staff/api.inc.php include/staff/api.inc.php
include/staff/changepasswd.inc.php include/staff/changepasswd.inc.php
include/staff/dept.inc.php include/staff/dept.inc.php
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment