Michael
1be5275eef
Some more performance measuring for database stuff
2018-03-02 13:37:49 +00:00
Hypolite Petovan
f020292408
Remove references to include/datetime
2018-02-03 20:47:37 -05:00
Hypolite Petovan
5e7285b9ba
Move Temporal::convert() to DateTimeFormat::convert()
2018-02-03 08:56:55 -05:00
Hypolite Petovan
8aff8a76eb
Add Temporal::utcNow()
2018-02-03 08:56:52 -05:00
Hypolite Petovan
dc366bf1f7
Refactor datetime_convert into Temporal::convert
...
- Changed parameter order to save space
- Refactor select_timezone into Temporal::getTimezoneSelect
- Refactor field_timezone into Temporal::getTimezoneField
2018-02-03 08:56:51 -05:00
Adam Magness
208a149a7b
Review sprintf
...
remove more sprintf calls
2018-01-23 21:59:16 -05:00
Adam Magness
f0725ae384
Hopefully all t()
...
hopefully the last of the t()
2018-01-22 18:03:26 -05:00
Hypolite Petovan
4cca8280b4
Fix undefined variables PHP Notice
...
- $order_string in include/dba
- $limit_string in include/dba
- $search in mod/search
- $lang_list in include/pgettext.php
2018-01-19 22:52:49 -05:00
Hypolite Petovan
f193f01a7d
Fix issues in changed files
...
- Initializes $return in Process::insert
- Update the type hint of dba::fetch
- Remove unused $a parameter in worker_init()
- Fix uses
2018-01-17 00:17:58 -05:00
Hypolite Petovan
e36f2bb1fb
Use short form array syntax everywhere
...
- Add short form array syntax to po2php.php generation
2018-01-15 14:07:17 -05:00
Hypolite Petovan
adfabeadb1
Rename param to condition in dba::delete
...
- Fix formatting
- Use new array syntax
2018-01-13 23:46:59 -05:00
Hypolite Petovan
483d1a1bcb
Rename selectOne to selectFirst in comment
2018-01-10 12:57:21 -05:00
Hypolite Petovan
ae66bcaff3
Rename selectOne to selectFirst
2018-01-10 12:57:21 -05:00
Hypolite Petovan
c7a7658316
Fix documentation in include/dba
2018-01-10 12:57:21 -05:00
Hypolite Petovan
da60893590
Replace dba::select(limit => 1) by dba::selectOne
...
- Convert array declarations to new style
2018-01-10 12:57:21 -05:00
Hypolite Petovan
6444f97c98
Fix issues in mod/contacts
...
- Fix formatting
- Use DBM::is_result()
- Use dba::select
- Simplify sprintf(t[t]()) structures
- Remove commented out code
- Remove unused variables
- Update documentation type hints
2018-01-05 21:05:23 -05:00
Michael
15d42de647
Class moved, changes applied
2017-12-14 21:13:02 +00:00
Michael
0457bd995f
"system_unavailable.php" is unavailable now
2017-12-13 21:55:19 +00:00
Hypolite Petovan
84418860bd
Improve dba
...
- Add dba::count
- Add support for LIMIT X,X
2017-12-01 00:34:54 -05:00
Michael
ffceb601d5
Some handling for empty parameters
2017-11-22 22:50:45 +00:00
Michael
7c3fd2adb5
Some more replaced old database functions
2017-11-22 07:21:19 +00:00
Michael
723b40eea4
No obsolete mysql_* anymore
2017-11-21 21:00:11 +00:00
Adam Magness
4ca68c7af0
Class file relocations
...
Issue #3878
2017-11-08 08:37:03 -05:00
Michael
1cbe27de12
DBA: The "connected" check for PDO didn't work.
2017-10-29 06:31:01 +00:00
Michael
a29b7e7153
"dba" is now a static class
2017-10-11 12:56:36 +00:00
Michael
dbcd1d1ae3
Additional check if the database object is initialized
2017-10-10 22:25:38 +00:00
Michael
63e02eb57f
Checks if the database variable is initialized
2017-10-10 22:18:57 +00:00
Michael
bd88179419
Add additional checks for the worker
2017-09-30 11:19:46 +00:00
Michael
0eb92bf12a
Unused functions removed
2017-09-16 05:09:14 +00:00
Michael
dfd48dd6f6
"qu" is no more
2017-09-15 21:00:39 +00:00