diff options
author | Gerrit Uitslag <klapinklapin@gmail.com> | 2013-11-21 21:07:08 +0100 |
---|---|---|
committer | Gerrit Uitslag <klapinklapin@gmail.com> | 2013-11-21 21:07:08 +0100 |
commit | 047bad06fab8157452aa0dd04379a7c507b1f39f (patch) | |
tree | c8e4b0b344e648476d521a005ac1467de0ad2ec7 /inc/RemoteAPICore.php | |
parent | 0f13c836f0ee71a3188a775b9ea64025e10d38f5 (diff) | |
download | rpg-047bad06fab8157452aa0dd04379a7c507b1f39f.tar.gz rpg-047bad06fab8157452aa0dd04379a7c507b1f39f.tar.bz2 |
refactor PageRevisionLog into Media- and PageChangelog extending Changelog
Diffstat (limited to 'inc/RemoteAPICore.php')
-rw-r--r-- | inc/RemoteAPICore.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/RemoteAPICore.php b/inc/RemoteAPICore.php index 311ff8c8c..aa1e06f57 100644 --- a/inc/RemoteAPICore.php +++ b/inc/RemoteAPICore.php @@ -374,7 +374,7 @@ class RemoteAPICore { throw new RemoteException('The requested page does not exist', 121); } - $pagelog = new PageRevisionLog($id, 1024); + $pagelog = new PageChangeLog($id, 1024); $info = $pagelog->getRevisionInfo($time); $data = array( @@ -647,7 +647,7 @@ class RemoteAPICore { throw new RemoteException('Empty page ID', 131); } - $pagelog = new PageRevisionLog($id); + $pagelog = new PageChangeLog($id); $revisions = $pagelog->getRevisions($first, $conf['recent']+1); if(count($revisions)==0 && $first!=0) { |