[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 65/151: Clean code
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 65/151: Clean code |
Date: |
Sat, 4 Feb 2017 17:14:28 +0000 (UTC) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit f4b34aa4d5398620bead8213f3e453e18acc0ea8
Author: Dany De Bontridder <address@hidden>
Date: Sat Jul 30 00:02:42 2016 +0200
Clean code
---
include/class/class_acc_ledger.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/class/class_acc_ledger.php
b/include/class/class_acc_ledger.php
index e9c1522..192bc13 100644
--- a/include/class/class_acc_ledger.php
+++ b/include/class/class_acc_ledger.php
@@ -2917,8 +2917,8 @@ class Acc_Ledger extends jrn_def_sql
$fil_paid = $and . SQL_LIST_UNPAID_INVOICE;
$and = " and ";
}
-
- $g_user = new User(new Database());
+ $repo=new Database();
+ $g_user = new User($repo);
$g_user->Check();
$g_user->check_dossier(dossier::id());
- [Noalyss-commit] [noalyss] 35/151: Performance : improve VERIF , Totaux Actif/Passif, Charge/Produit, (continued)
- [Noalyss-commit] [noalyss] 35/151: Performance : improve VERIF , Totaux Actif/Passif, Charge/Produit, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 51/151: Improve Doc, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 44/151: Problème htmlentities : charset par défaut différent entre version, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 50/151: Deprecated HtmlInput::make_object must be replace by json_encode, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 48/151: Improve Sorttable, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 54/151: Merge branch 'br_6916', Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 53/151: Improve DOC for Scenario, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 56/151: IText add htmlentities to protect, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 22/151: Export en PDF d'operation, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 60/151: Regenerated from less, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 65/151: Clean code,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 52/151: Improve DOC for Scenario, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 55/151: Timestamp instead of date, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 61/151: Cosmetic : user / password use placeholder, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 67/151: Performance : replace Anc_Grandlivre->display_html with Anc_Grandlivre->load, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 59/151: improve CSS theme, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 45/151: Documentation and clean code, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 58/151: IDate : admit date from before 2000, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 63/151: Update doc, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 66/151: adapt for php 7.0, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 68/151: add newline at the end of file, Dany De Bontridder, 2017/02/04