]> git.mxchange.org Git - friendica.git/commit
Moved global PAGE_* to Profile class (#5500)
authorRoland Häder <Quix0r@users.noreply.github.com>
Fri, 27 Jul 2018 23:25:57 +0000 (01:25 +0200)
committerHypolite Petovan <mrpetovan@eml.cc>
Fri, 27 Jul 2018 23:25:57 +0000 (19:25 -0400)
commit4a22710b3bd82143ab4e012e84d995d3768f7c50
tree49a2637d78addd413b2cb9d78d7881db1d71957d
parent5f77e98d76ca221170cdb3e63bea8a78ec55c66c
Moved global PAGE_* to Profile class (#5500)

* Rewrites:
- moved PAGE_* to Friendica\Model\Profile class

* Fixed more rewrites from plain (global namespace) PAGE_* to Friendica\Models\Profile class

* CR request:
- moved all PAGE_* constants to Friendica\Model\Contact class
- fixed all references of both classes

* CR request:
- moved ACCOUNT_TYPE_* constants from boot.php to Contact::ACCOUNT_TYPE_*

* Just copy-pasted this code from boot.php, needs to be changed to `const ACCOUNT_TYPE_FOO = x;`

* Ops, melting brain cells here ... :-/
27 files changed:
boot.php
include/enotify.php
include/security.php
mod/admin.php
mod/dfrn_confirm.php
mod/dfrn_notify.php
mod/dfrn_request.php
mod/hcard.php
mod/noscrape.php
mod/photos.php
mod/profile.php
mod/profiles.php
mod/settings.php
mod/videos.php
mod/wall_attach.php
mod/wall_upload.php
src/Content/Nav.php
src/Model/Contact.php
src/Model/Item.php
src/Network/Probe.php
src/Object/Image.php
src/Protocol/DFRN.php
src/Protocol/Diaspora.php
src/Protocol/OStatus.php
src/Worker/Delivery.php
src/Worker/Queue.php
update.php