Code Duplication    Length = 3-3 lines in 3 locations

lib/objects/ariadne_object.php 3 locations

@@ 856-858 (lines=3) @@
853
			$id = $this->id;
854
		}
855
		$result = $this->store->touch($id, $timestamp);
856
		if ($this->store->error) {
857
			$this->error = ar::error( ''.$this->store->error, 1107, $this->store->error);
858
		}
859
		return $result;
860
	}
861
@@ 873-875 (lines=3) @@
870
			$vtype = substr($vtype, 0, strpos($vtype, '.'));
871
		}
872
		$result = $this->store->mogrify($id, $type, $vtype);
873
		if ($this->store->error) {
874
			$this->error = ar::error( ''.$this->store->error, 1107, $this->store->error);
875
		}
876
		return $result;
877
	}
878
@@ 2775-2777 (lines=3) @@
2772
		}
2773
		$result = $this->store->call($function, $args,
2774
			$this->store->find($this->path, $criteria, $limit, $offset));
2775
		if ($this->store->error) {
2776
			$this->error = ar::error( ''.$this->store->error, 1107, $this->store->error );
2777
		}
2778
		return $result;
2779
	}
2780