--- a/src/internfile/internfile.h
+++ b/src/internfile/internfile.h
@@ -195,14 +195,14 @@
}
/**
- * Get immediate parent for document.
+ * Get UDI for immediate parent for document.
*
* This is not in general the same as the "parent" document used
* with Rcl::Db::addOrUpdate(). The latter is the enclosing file,
* this would be for exemple the email containing the attachment.
- */
- static bool getEnclosing(const string &url, const string &ipath,
- string &eurl, string &eipath, string& udi);
+ * This is in internfile because of the ipath computation.
+ */
+ static bool getEnclosingUDI(const Rcl::Doc &doc, string& udi);
/** Return last element in ipath, like basename */
static std::string getLastIpathElt(const std::string& ipath);