Code Duplication    Length = 3-3 lines in 3 locations

lib/objects/ariadne_object.php 3 locations

@@ 873-875 (lines=3) @@
870
			$id = $this->id;
871
		}
872
		$result = $this->store->touch($id, $timestamp);
873
		if ($this->store->error) {
874
			$this->error = ar::error( ''.$this->store->error, 1107, $this->store->error);
875
		}
876
		return $result;
877
	}
878
@@ 890-892 (lines=3) @@
887
			$vtype = substr($vtype, 0, strpos($vtype, '.'));
888
		}
889
		$result = $this->store->mogrify($id, $type, $vtype);
890
		if ($this->store->error) {
891
			$this->error = ar::error( ''.$this->store->error, 1107, $this->store->error);
892
		}
893
		return $result;
894
	}
895
@@ 2712-2714 (lines=3) @@
2709
		}
2710
		$result = $this->store->call($function, $args,
2711
			$this->store->find($this->path, $criteria, $limit, $offset));
2712
		if ($this->store->error) {
2713
			$this->error = ar::error( ''.$this->store->error, 1107, $this->store->error );
2714
		}
2715
		return $result;
2716
	}
2717