Closed sebastianertz closed 11 years ago
do you mean the inconsistency compared to update,delete, select?
I guess it's maybe just a typo and has been used as is. We can change it back to insert, if it doesn't conflict with PHP keywords.
Well, it doesn't make sense to have functions like update, delete, select and insert, if they all do the same (and they do actually).
One single query-function should be sufficient.
I've unified most (hopefully all) database-queries from 'select', 'delete', 'update' and 'insert_' to 'query' in commit d14db754d4666f0501c3e309f0537bd4a0280e36 of the development-branch. The old methods are still available but will be removed in the future.
https://github.com/crich/beroNet-Open-PBX/blob/master/template/www/includes/database.php