|
@@ -327,6 +327,16 @@ class Photo extends Module {
|
|
|
|
|
|
private function createMedium($url, $filename, $width, $height) {
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
self::dependencies(isset($this->database, $this->settings, $url, $filename, $width, $height));
|
|
|
|
|
@@ -397,6 +407,14 @@ class Photo extends Module {
|
|
|
|
|
|
public function adjustFile($path, $info) {
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
self::dependencies(isset($path, $info));
|
|
|
|
|
@@ -528,9 +546,11 @@ class Photo extends Module {
|
|
|
|
|
|
public static function prepareData($data) {
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
|
|
|
self::dependencies(isset($data));
|