Added check to avoid senseless update queries
authorSargTeX <sargtex@post.myonid.de>
Fri, 3 Aug 2012 18:34:26 +0000 (21:34 +0300)
committerSargTeX <sargtex@post.myonid.de>
Fri, 3 Aug 2012 18:34:26 +0000 (21:34 +0300)
commitdf313a0aeb2487a22ef4a93d70a2ecbeaa23df43
tree29682839c70bc1b6a9aff7259033de1ac98e59ac
parent669417c4ce3b91042b39f0fdfab01d44754b3942
Added check to avoid senseless update queries

I just added some code that checks wether any data of the object changed or not. Makes it easier to use for developers. If no value changed, the object won't be updated.
wcfsetup/install/files/lib/data/DatabaseObjectEditor.class.php