The injunction provided by this code is a command to refrain from a particular act. It may be the final judgment in an action, or may be allowed as a provisional remedy, and, when so allowed, it shall be by order. The writ of injunction is abolished.
Okla. Stat. tit. 12, § 1381