Removed find customer link. Search should be used instead

This commit is contained in:
Karl Cordes 2011-03-16 12:21:16 +11:00
parent d790121520
commit d9d4cf3cd9
2 changed files with 1 additions and 3 deletions

View file

@ -352,7 +352,7 @@ class VaultShell extends Shell {
$this->Email->create(); $this->Email->create();
$emailID = $this->Email->saveAll($newEmail); $emailID = $this->Email->saveAll($newEmail);
if(!empty($emailID)) { if(!empty($emailID)) {
echo "Success. We made an email ID: $emailID\n"; echo "Success. We made an email\n";
} }
else { else {
@ -382,7 +382,6 @@ class VaultShell extends Shell {
function makeSymlink($email_filename, $vault_dir, $processed_dir) { function makeSymlink($email_filename, $vault_dir, $processed_dir) {
if(symlink($vault_dir."/".$email_filename, $processed_dir."/".$email_filename)) { if(symlink($vault_dir."/".$email_filename, $processed_dir."/".$email_filename)) {
echo "Created Symlink sucessfully. Email processed\n";
return true; return true;
} }
else { else {

View file

@ -68,7 +68,6 @@
<li><?php echo $html->link('Customers', '/customers/index'); ?> <li><?php echo $html->link('Customers', '/customers/index'); ?>
<ul> <ul>
<li><?php echo $html->link('Customer Index', '/customers/index'); ?></li> <li><?php echo $html->link('Customer Index', '/customers/index'); ?></li>
<li><?php echo $html->link('Find Customer', '#', array('id'=>'searchLink')); ?></li>
<li><?php echo $html->link('Add Customer', '/customers/add'); ?></li> <li><?php echo $html->link('Add Customer', '/customers/add'); ?></li>
<li class="last"><?php echo $html->link('Industries', '/industries/index'); ?></li> <li class="last"><?php echo $html->link('Industries', '/industries/index'); ?></li>
</ul> </ul>