diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2012-08-06 11:27:13 -0400 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2012-08-06 11:27:13 -0400 |
commit | 3b2c853916fb75968ae759e54bb61a8095debe7e (patch) | |
tree | a5aecb01d54747e0c249c904ba23405bd37e5c65 /apps/gallery | |
parent | 09bb3bfaf8bbc276ff23a2882d5591be542c0139 (diff) | |
download | nextcloud-server-3b2c853916fb75968ae759e54bb61a8095debe7e.tar.gz nextcloud-server-3b2c853916fb75968ae759e54bb61a8095debe7e.zip |
Lots of refactoring to share API
Diffstat (limited to 'apps/gallery')
-rw-r--r-- | apps/gallery/appinfo/app.php | 2 | ||||
-rw-r--r-- | apps/gallery/lib/share.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/gallery/appinfo/app.php b/apps/gallery/appinfo/app.php index 9efb4346c3e..9103f66441d 100644 --- a/apps/gallery/appinfo/app.php +++ b/apps/gallery/appinfo/app.php @@ -30,7 +30,7 @@ OC::$CLASSPATH['Pictures_Managers'] = 'gallery/lib/managers.php'; OC::$CLASSPATH['Pictures_Tiles'] = 'gallery/lib/tiles.php'; OC::$CLASSPATH['OC_Share_Backend_Photo'] = 'gallery/lib/share.php'; -OCP\Share::registerBackend('photo', new OC_Share_Backend_Photo()); +// OCP\Share::registerBackend('photo', new OC_Share_Backend_Photo()); $l = OC_L10N::get('gallery'); diff --git a/apps/gallery/lib/share.php b/apps/gallery/lib/share.php index 6f3db45375f..d6c5f40d492 100644 --- a/apps/gallery/lib/share.php +++ b/apps/gallery/lib/share.php @@ -19,7 +19,7 @@ * License along with this library. If not, see <http://www.gnu.org/licenses/>. */ -class OC_Share_Backend_Photo extends OCP\Share_Backend { +abstract class OC_Share_Photo_Backend implements OCP\Share_Backend { public $dependsOn = 'file'; public $supportedFileExtensions = array('jpg', 'png', 'gif'); |