From 314a0f56b5049e8ffdb685b34f6e3d0bdb6b02ae Mon Sep 17 00:00:00 2001
From: Peter Rotich <peter@osticket.com>
Date: Wed, 27 Mar 2013 16:50:58 -0400
Subject: [PATCH] Remove undefined routine typo...

---
 setup/cli/modules/unpack.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/setup/cli/modules/unpack.php b/setup/cli/modules/unpack.php
index 0f6aed8ab..58fc70e4f 100644
--- a/setup/cli/modules/unpack.php
+++ b/setup/cli/modules/unpack.php
@@ -3,12 +3,12 @@
 require_once dirname(__file__) . "/class.module.php";
 
 class Unpacker extends Module {
-    
+
     var $prologue = "Unpacks osTicket into target install path";
 
     var $epilog =
         "Copies an unpacked osticket tarball or zipfile into a production
-         location, optionally placing the include/ folder in a separate 
+         location, optionally placing the include/ folder in a separate
          location if requested";
 
     var $options = array(
@@ -118,7 +118,7 @@ class Unpacker extends Module {
         $this->destination = $this->getArgument('install-path');
         if (!is_dir($this->destination))
             if (!mkdir($this->destination, 0751, true))
-                $this->die("Destination path does not exist and cannot be created");
+                die("Destination path does not exist and cannot be created");
 
         # Determine if this is an upgrade, and if so, where the include/
         # folder is currently located
-- 
GitLab