Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

fix(thumbs): fix class namespace

  • Loading branch information...
hypeJunction committed Mar 21, 2016
1 parent 5d3f816 commit e054447b151939aa38b93f1d62430af749628287
Showing with 1 addition and 1 deletion.
  1. +1 −1 classes/hypeJunction/Scraper/Models/Resources.php
@@ -30,7 +30,7 @@ public function get($url = '', $handle = null, $parse = false) {
public function getThumbUrl($url = '', $handle = null) {
$data = $this->resourceCache->get($url, $handle);
if (!empty($data['thumb_cache'])) {
$thumb = new ElggFile();
$thumb = new \ElggFile();
$thumb->owner_guid = elgg_get_site_entity()->guid;
$thumb->setFilename("scraper_cache/thumbs/{$uid}.{$handle}.jpg");
$icon_url = elgg_get_inline_url($thumb);

0 comments on commit e054447

Please sign in to comment.
You can’t perform that action at this time.