Commit Graph

24 Commits

Author SHA1 Message Date
Mafoo b941879c91 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 71f681496b 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 1ff6bc7ad5 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 6421dffba3 Update database.php 2017-03-17 00:09:32 -06:00
FusionPBX 0fb9850d07 Update database.php 2017-03-16 22:20:11 -06:00
FusionPBX d6b10c6e64 Update database.php
An improvement to make the database class more robust.
2016-11-27 00:16:18 -07:00
FusionPBX 2fcb774dc0 Update database.php
Update the database class delete method.
2016-11-23 13:39:20 -07:00
FusionPBX 549ac9a70d Update database.php
Enhance database->delete() method.
2016-11-19 14:10:06 -07:00
FusionPBX 1b06ed31d5 Update database.php 2016-11-19 11:57:36 -07:00
FusionPBX 03180c9018 Update database.php
Changes for database -> delete() keeping for the moment for backwards compatibility.
2016-11-19 11:49:38 -07:00
FusionPBX 06b94fb1e7 Update database.php
Add database -> select method.
2016-11-02 12:31:59 -06:00
FusionPBX dca1482b07 Update database.php 2016-10-20 15:03:52 -06:00
FusionPBX 1b015205cd 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 fa081456b1 Change $_SERVER['DOCUMENT_ROOT'].PROJECT_PATH to $_SERVER["PROJECT_ROOT"]. 2016-01-17 00:01:13 -07:00
Mark Crane 50010ed5ae Remove mysql_connect. 2015-04-15 01:35:15 +00:00
Mark Crane d93c5198df Fix the database class count. 2015-03-22 07:54:35 +00:00
luis daniel lucio quiroz 5210f942f4 missing a connect verification 2014-06-21 05:22:45 +00:00
luis daniel lucio quiroz 44aaf5beed missing a this 2014-06-21 05:05:32 +00:00
luis daniel lucio quiroz 79bb16cf81 new method for database object 2014-06-21 04:59:25 +00:00
Mark Crane 5e37c95abb Database class change $this->name to $this->db_name 2014-01-19 13:06:27 +00:00
Mark Crane 0eafdddc8a Fix the database class connection info so it can be provided on demand. 2013-07-13 18:33:30 +00:00
Mark Crane 9f71bdd024 Change links from includes to the resources directory. 2013-07-10 23:41:12 +00:00
Mark Crane 32e16dd2c7 Set the include path to use with config.php inside the database.php class. 2013-07-06 08:06:03 +00:00
Mark Crane 3aa617ded7 Move the class files from includes to the resources directory. 2013-07-06 07:16:58 +00:00