Code Duplication    Length = 3-3 lines in 3 locations

lib/objects/ariadne_object.php 3 locations

@@ 865-867 (lines=3) @@
862
			$id = $this->id;
863
		}
864
		$result = $this->store->touch($id, $timestamp);
865
		if ($this->store->error) {
866
			$this->error = ar::error( ''.$this->store->error, 1107, $this->store->error);
867
		}
868
		return $result;
869
	}
870
@@ 882-884 (lines=3) @@
879
			$vtype = substr($vtype, 0, strpos($vtype, '.'));
880
		}
881
		$result = $this->store->mogrify($id, $type, $vtype);
882
		if ($this->store->error) {
883
			$this->error = ar::error( ''.$this->store->error, 1107, $this->store->error);
884
		}
885
		return $result;
886
	}
887
@@ 2704-2706 (lines=3) @@
2701
		}
2702
		$result = $this->store->call($function, $args,
2703
			$this->store->find($this->path, $criteria, $limit, $offset));
2704
		if ($this->store->error) {
2705
			$this->error = ar::error( ''.$this->store->error, 1107, $this->store->error );
2706
		}
2707
		return $result;
2708
	}
2709