Move WatchedItem::duplicateEntries to WatchedItemStore
authoraddshore <addshorewiki@gmail.com>
Tue, 26 Jan 2016 16:36:05 +0000 (17:36 +0100)
committeraddshore <addshorewiki@gmail.com>
Wed, 17 Feb 2016 15:22:32 +0000 (15:22 +0000)
commit54d4315be6cb3b3c9a2f25f40a27e3ca6cafe188
tree42f8b00ae3573143b207f653d4416f2d1a8c3f87
parent88e5638e82a063bdbe8919ed89b80b7b44597f9a
Move WatchedItem::duplicateEntries to WatchedItemStore

This removes static logic from WatchedItem into a
class that we can slowly fill with watchlist database
and storage things.

This also removes the dual namespace handling in
the new implementation.

Change-Id: Ia67ab1d200ac393c65013b2091e61acefcb3defb
autoload.php
includes/WatchedItem.php
includes/WatchedItemStore.php [new file with mode: 0644]
tests/phpunit/includes/WatchedItemStoreTest.php [new file with mode: 0644]