printImage to superclass

This commit is contained in:
lopar
2019-01-11 21:39:37 +02:00
parent 6c7f997257
commit 863a7a453a
2 changed files with 5 additions and 4 deletions

View File

@@ -47,8 +47,4 @@ class ItemClass extends Item
echo "<br>";
}
public function printImage()
{
echo "<img src='/i/sh/{$this->img}'";
}
}