Revert "Bug 1209483 - Fix adding media to individual and call to undefined function linkMedia"

This reverts commit 24d254a2cbc8e1591a51450a86f516c96ca1520f.