]> BookStack Code Mirror - bookstack/blobdiff - app/Uploads/Image.php
Improve sorting Shelf Books
[bookstack] / app / Uploads / Image.php
index 6fa5db2a562e703fa0d18aa12b5abb753de0e80b..dc26af002ab5e29de70d3679d9a56282b39bb458 100644 (file)
@@ -1,13 +1,16 @@
 <?php namespace BookStack\Uploads;
 
-use BookStack\Entities\Page;
-use BookStack\Ownable;
+use BookStack\Entities\Models\Page;
+use BookStack\Model;
+use BookStack\Traits\HasCreatorAndUpdater;
 use Images;
 
-class Image extends Ownable
+class Image extends Model
 {
+    use HasCreatorAndUpdater;
 
     protected $fillable = ['name'];
+    protected $hidden = [];
 
     /**
      * Get a thumbnail for this image.