Commit Graph

27 Commits

Author SHA1 Message Date
FusionPBX 749b97c253 Update database.php 2017-07-08 01:10:28 -06:00
FusionPBX 8a2f044109 Update database.php 2017-07-04 09:48:52 -06:00
FusionPBX 5bc8691dfb Use null instead of an empty string for user_uuid when not available. 2017-06-11 08:48:18 -06:00
Mafoo 9e8eb943e8 BugFix - database class app_uuid (#2663)
if $database->app_uuid is not set it would use '' in some conditions
which isset would test true.
This fix uses strlen instead, but also fixes number_transations app that
highlighted the flaw
2017-06-09 13:31:50 -06:00
Mafoo 52642ea175 BugFix [master] database class (#2594)
Fix for if you send an array containing both updates and new data, it would end up placing all the new data on top of the last item containing the uuid of the last update (if updates are earlier in the array than new items)
2017-05-28 10:18:07 -06:00
Mafoo d53fd72998 Enhance [master] Better reasons for 403 in database class (#2596)
update return message when code 403 to also state the permission that failed
2017-05-25 23:54:10 -06:00
FusionPBX 71736c19e7 Update database.php 2017-03-17 00:09:32 -06:00
FusionPBX fa52a380bb Update database.php 2017-03-16 22:20:11 -06:00
FusionPBX de3f56fc20 Update database.php
An improvement to make the database class more robust.
2016-11-27 00:16:18 -07:00
FusionPBX f8d40ccc6d Update database.php
Update the database class delete method.
2016-11-23 13:39:20 -07:00
FusionPBX d958bea7b2 Update database.php
Enhance database->delete() method.
2016-11-19 14:10:06 -07:00
FusionPBX 03210fe78f Update database.php 2016-11-19 11:57:36 -07:00
FusionPBX 3027bdf9df Update database.php
Changes for database -> delete() keeping for the moment for backwards compatibility.
2016-11-19 11:49:38 -07:00
FusionPBX 76edd90efd Update database.php
Add database -> select method.
2016-11-02 12:31:59 -06:00
FusionPBX fa55b67bb0 Update database.php 2016-10-20 15:03:52 -06:00
FusionPBX 28e052c353 Update database.php
Migrate methods from the orm class to the database class. Will be deprecating the orm class.
2016-10-16 10:45:04 -06:00
markjcrane 23b4b7c9bf Change $_SERVER['DOCUMENT_ROOT'].PROJECT_PATH to $_SERVER["PROJECT_ROOT"]. 2016-01-17 00:01:13 -07:00
Mark Crane a92e5f5afd Remove mysql_connect. 2015-04-15 01:35:15 +00:00
Mark Crane 16480d62dd Fix the database class count. 2015-03-22 07:54:35 +00:00
luis daniel lucio quiroz 3f0f7ab1a5 missing a connect verification 2014-06-21 05:22:45 +00:00
luis daniel lucio quiroz 5c73a105a8 missing a this 2014-06-21 05:05:32 +00:00
luis daniel lucio quiroz f2c37a9dbe new method for database object 2014-06-21 04:59:25 +00:00
Mark Crane 1316745483 Database class change $this->name to $this->db_name 2014-01-19 13:06:27 +00:00
Mark Crane 5524737ac3 Fix the database class connection info so it can be provided on demand. 2013-07-13 18:33:30 +00:00
Mark Crane 95f86e6723 Change links from includes to the resources directory. 2013-07-10 23:41:12 +00:00
Mark Crane b42d2c7122 Set the include path to use with config.php inside the database.php class. 2013-07-06 08:06:03 +00:00
Mark Crane 93adbba412 Move the class files from includes to the resources directory. 2013-07-06 07:16:58 +00:00