diff --git a/lib/documentmanagement/MDCondition.inc b/lib/documentmanagement/MDCondition.inc
deleted file mode 100644
index 227e45c..0000000
--- a/lib/documentmanagement/MDCondition.inc
+++ /dev/null
@@ -1,80 +0,0 @@
- "id",
- "iFieldId" => "document_field_id",
- "iLookupId" => "metadata_lookup_id",
- "sName" => "name", // this can be null - if it isn't we are looking at a rooted subtree
- );
-
- var $_bUsePearError = true;
-
- function getID() { return $this->iId; }
- function setID($iId) { $this->iId = $iId; }
- function getFieldId() { return $this->iFieldId; }
- function setFieldId($iFieldId) { $this->iFieldId = $iFieldId; }
- function getLookupId() { return $this->iLookupId; }
- function setLookupId($iLookupId) { $this->$iLookupId = $iLookupId; }
-
- function _table () {
- global $default;
- return $default->metadata_condition_table;
- }
-
- // Static Functions (dull)
- function &get($iId) { return KTEntityUtil::get("MDConditionNode", $iId); }
- function &createFromArray($aOptions) { return KTEntityUtil::createFromArray("MDConditionNode", $aOptions); }
- function &getList($sWhereClause = null) { global $default; return KTEntityUtil::getList2("MDConditionNode", $sWhereClause); }
-
- /** end boilerplate. anything interesting goes below here. */
-
-}
-
-class MDConditionChain extends KTEntity {
- /** boilerplate DB code. */
- /** primary key */
- var $iId = -1;
- var $iParentCondition;
- var $iChildCondition;
-
- var $_aFieldToSelect = array(
- "iId" => "id",
- "iChildCondition" => "child_condition",
- "iParentCondition" => "parent_condition",
- );
-
- var $_bUsePearError = true;
-
- function getID() { return $this->iId; }
- function setID($iId) { $this->iId = $iId; }
- function getParentConditionId() { return $this->iParentCondition; }
- function setParentConditionId($iParentCondition) { $this->$iParentCondition = $iParentCondition; }
- function getChildConditionId() { return $this->iChildCondition; }
- function setChildConditionId($iChildCondition) { $this->$iChildCondition = $iParentCondition; }
-
- function _table () {
- global $default;
- return $default->md_condition_chain_table;
- }
-
- // Static Functions (dull)
- function &get($iId) { return KTEntityUtil::get("MDConditionChain", $iId); }
- function &createFromArray($aOptions) { return KTEntityUtil::createFromArray("MDConditionChain", $aOptions); }
- function &getList($sWhereClause = null) { global $default; return KTEntityUtil::getList2("MDConditionChain", $sWhereClause); }
-
- /** end boilerplate. anything interesting goes below here. */
-
-}
diff --git a/lib/visualpatterns/PatternImage.inc b/lib/visualpatterns/PatternImage.inc
deleted file mode 100644
index de7f8b1..0000000
--- a/lib/visualpatterns/PatternImage.inc
+++ /dev/null
@@ -1,69 +0,0 @@
-sImgURL = $sNewImgURL;
- }
-
- /**
- * Set the width and height of the image
-
- * @param $iNewWidth Image width
- * @param $iNewHeigth Image heigth
- */
- function setImgSize($iNewWidth, $iNewHeight) {
- $this->iImgWidth = $iNewWidth;
- $this->iImgHeight = $iNewHeight;
- }
-
- /**
- * Renders the image
- *
- * @return String to be used in HTML
- */
- function & render() {
- if (isset($this->sImgWidth) && isset($this->sImgWidth)) {
- return "
sImgURL."\" width=\"". $this->iImgWidth."\" height=\"".$this->iImgHeight."\" align=\"center\" border=\"0\" />";
- }
- return "
sImgURL."\" align=\"center\" border=\"0\" />";
- }
-
-
-}
-
-?>
\ No newline at end of file