[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 13/151: Clean code
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 13/151: Clean code |
Date: |
Sat, 4 Feb 2017 17:14:24 +0000 (UTC) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 734ca42428983eb7afddd8e3cd61db5242aa8f4c
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] branch master updated (cb79fac -> b781c15), Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 04/151: IDate : admit date from before 2000, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 02/151: Merge branch 'master' of ssh://ns3git/srv/git/noalyss, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 05/151: Merge Merge branch 'master' of ssh://ns3git/srv/git/noalyss, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 08/151: Cosmetic : user / password use placeholder, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 01/151: IText add htmlentities to protect, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 07/151: Regenerated from less, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 10/151: Update doc, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 13/151: Clean code,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 11/151: Merge branch 'master' of ssh://ns3git/srv/git/noalyss, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 15/151: Performance : replace Anc_Grandlivre->display_html with Anc_Grandlivre->load, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 14/151: adapt for php 7.0, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 06/151: improve CSS theme, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 21/151: Documentation Task #2 - Documentation nouveau code, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 18/151: adapt for php 7.0, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 16/151: Merge branch 'master' of ns3:/srv/git/noalyss, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 19/151: sécurité Task #8 - Sécurité protection SQL, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 24/151: Scenario pour dév. de comptabilité analytique, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 17/151: add newline at the end of file, Dany De Bontridder, 2017/02/04