Some easy to replace "q" calls have been replaced by "DBA" calls (#5632)
authorMichael Vogel <icarus@dabo.de>
Sun, 19 Aug 2018 12:46:11 +0000 (14:46 +0200)
committerHypolite Petovan <mrpetovan@eml.cc>
Sun, 19 Aug 2018 12:46:10 +0000 (12:46 +0000)
commit7f3fb34c24e30b79d8c25f63dbb2c3c3da79e599
tree3f40aa7eff065d90895790366985c53bc153ac3a
parentdfe4413463e7cbac0971fe8f3820f5f651dafdc2
Some easy to replace "q" calls have been replaced by "DBA" calls (#5632)

* Some easy to replace "q" calls have been replaced by "DBA" calls

* Simplified the GUID creation

* And one in the API ...

* And OStatus has got some DBA calls more

* Just some more replaced database calls

* The event query is now simplified

* Events are now shown again

* subthread is now using the DBA calls as well

* Some more replaced database calls

* And some more replaced database calls and prevented notices

* Better use gravity

* Some more replaced database stuff

* Some more replaced database calls in DFRN.php

* The gcontact class now has got the new DBA functions as well

* The Contact class is now changed to new database functions as well

* Small correction

* We can now delete without cascade

* One more functionality is safe for future changes
21 files changed:
boot.php
include/api.php
include/enotify.php
include/items.php
include/security.php
include/text.php
mod/network.php
mod/subthread.php
src/Model/Contact.php
src/Model/Event.php
src/Model/GContact.php
src/Model/Item.php
src/Model/Mail.php
src/Model/Profile.php
src/Model/User.php
src/Module/Login.php
src/Network/Probe.php
src/Protocol/DFRN.php
src/Protocol/Diaspora.php
src/Protocol/OStatus.php
src/Worker/CronJobs.php