From 8a3d7462ef9d1b6340a5e58552a1d6e2de13ec23 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Thu, 1 Nov 2012 15:52:58 +0000 Subject: Added alias store() for smart_replace() to maintain API backward compatibility --- it_dbi.class | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'it_dbi.class') diff --git a/it_dbi.class b/it_dbi.class index 1bb36e0..6e0d5df 100644 --- a/it_dbi.class +++ b/it_dbi.class @@ -694,6 +694,14 @@ function smart_replace($tags = array()) } +/** + * Maintain backward compatibility store() == smart_replace() to avoid unnecessary API BC break + */ +function store($tags = array()) +{ + return $this->smart_replace($tags); +} + /** * Update current record or a number of records given by where condition * @param $tags key => value pairs (these have priority over changes in member vars) -- cgit v1.2.3