Skip to content
This repository was archived by the owner on Jan 3, 2024. It is now read-only.

Commit e9cb8da

Browse files
author
David Yell
committed
Removed un-needed class load
1 parent 4f4d9d4 commit e9cb8da

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Console/Templates/NiceAdmin/views/index.ctp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
<?php echo "<?php echo \$this->Html->link('New', array('action'=>'add'), array('title'=>'Add new','class'=>'btn add-button'));?>\n"; ?>
44

55
<?php
6-
App::uses($modelClass, 'Model');
76
$model = ClassRegistry::init($modelClass);
8-
97
if (in_array('SoftDelete', $model->Behaviors->loaded())) {
108
echo "<?php echo \$this->Form->postLink(\"Purge (\$purgeable)\", array('action'=>'purge'), array('class' => 'btn btn-small btn-danger purge-button'), 'Are you sure you want to purge? This will remove records permanently!');?>\n";
119
echo "<?php echo \$this->Html->link(\"Deleted (\$deleted)\", array('action'=>'deleted'), array('title'=>\"Deleted (\$deleted)\", 'class' => 'btn btn-small btn-primary deleted-button'));?>\n";

0 commit comments

Comments
 (0)