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
@@ 2776-2778 (lines=3) @@
2773
		}
2774
		$result = $this->store->call($function, $args,
2775
			$this->store->find($this->path, $criteria, $limit, $offset));
2776
		if ($this->store->error) {
2777
			$this->error = ar::error( ''.$this->store->error, 1107, $this->store->error );
2778
		}
2779
		return $result;
2780
	}
2781