Commit 2926a5e1 by Alexander Makarov

Removed unused variable

parent 9fb88431
...@@ -190,7 +190,6 @@ abstract class Generator extends Model ...@@ -190,7 +190,6 @@ abstract class Generator extends Model
public function loadStickyAttributes() public function loadStickyAttributes()
{ {
$stickyAttributes = $this->stickyAttributes(); $stickyAttributes = $this->stickyAttributes();
$attributes[] = 'template';
$path = $this->getStickyDataFile(); $path = $this->getStickyDataFile();
if (is_file($path)) { if (is_file($path)) {
$result = json_decode(file_get_contents($path), true); $result = json_decode(file_get_contents($path), true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment