Fix indent ++
This commit is contained in:
parent
d45f81a515
commit
541c5820bc
|
@ -3,7 +3,7 @@ namespace Garradin;
|
|||
|
||||
$db = DB::getInstance();
|
||||
|
||||
var_dump($db->exec(file_get_contents(dirname(__FILE__) . "/data/schema.sql")));
|
||||
$db->import(dirname(__FILE__) . "/data/schema.sql");
|
||||
|
||||
$cfg = new Plugin\Facturation\Config();
|
||||
$cfg->set('footer', '[EXEMPLE]
|
||||
|
|
|
@ -89,7 +89,6 @@ class Config
|
|||
foreach ($this->modified as $key=>$modified)
|
||||
{
|
||||
$value = $this->config[$key];
|
||||
var_dump($value);
|
||||
|
||||
if (is_array($value))
|
||||
{
|
||||
|
|
|
@ -24,7 +24,7 @@ if (f('delete'))
|
|||
if (!$form->hasErrors())
|
||||
{
|
||||
try {
|
||||
var_dump($client->delete($c->id));
|
||||
$client->delete($c->id);
|
||||
Utils::redirect(PLUGIN_URL . 'clients.php');
|
||||
}
|
||||
catch (UserException $e)
|
||||
|
|
|
@ -40,7 +40,6 @@ if(f('add'))
|
|||
}
|
||||
|
||||
|
||||
// var_dump($client->listAll());
|
||||
$tpl->assign('clients', $client->listAll());
|
||||
$tpl->assign('champs',
|
||||
[
|
||||
|
|
Loading…
Reference in New Issue