Switch Signature of WatchedItemStore::addWatchBatch
authoraddshore <addshorewiki@gmail.com>
Tue, 22 Mar 2016 18:07:49 +0000 (18:07 +0000)
committerAddshore <addshorewiki@gmail.com>
Thu, 24 Mar 2016 18:28:08 +0000 (18:28 +0000)
commit12e2e9edbc5f97b49d85194af5fff316d5bf4a90
tree67fd69e71eec4cb1e7c9a22c16ca64a23180fb98
parent5a0da02e6a42da80035d7b3591e257c0c995e5e3
Switch Signature of WatchedItemStore::addWatchBatch

Adding batches of watched items per users
makes much more sense.
Only the deprecated static WatchedItem method
needed the old silly way of passing in objects.

Change-Id: I90f9583b66bd3b5afcf07faefedb38a8a0149f6e
includes/WatchedItem.php
includes/WatchedItemStore.php
includes/user/User.php
tests/phpunit/includes/WatchedItemStoreUnitTest.php
tests/phpunit/includes/WatchedItemUnitTest.php