Code Duplication    Length = 3-3 lines in 3 locations

lib/objects/ariadne_object.php 3 locations

@@ 862-864 (lines=3) @@
859
			$id = $this->id;
860
		}
861
		$result = $this->store->touch($id, $timestamp);
862
		if ($this->store->error) {
863
			$this->error = ar::error( ''.$this->store->error, 1107, $this->store->error);
864
		}
865
		return $result;
866
	}
867
@@ 879-881 (lines=3) @@
876
			$vtype = substr($vtype, 0, strpos($vtype, '.'));
877
		}
878
		$result = $this->store->mogrify($id, $type, $vtype);
879
		if ($this->store->error) {
880
			$this->error = ar::error( ''.$this->store->error, 1107, $this->store->error);
881
		}
882
		return $result;
883
	}
884
@@ 2767-2769 (lines=3) @@
2764
		}
2765
		$result = $this->store->call($function, $args,
2766
			$this->store->find($this->path, $criteria, $limit, $offset));
2767
		if ($this->store->error) {
2768
			$this->error = ar::error( ''.$this->store->error, 1107, $this->store->error );
2769
		}
2770
		return $result;
2771
	}
2772